December 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

December 2024
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Migrating to Amazon Linux 2

AWS also announced that Amazon Linux 2018.03 is the last release for the current generation of Amazon Linux and will be supported until June 30, 2020. Therefore, you have to come up with a migration plan.

Amazon Linux 2 comes with the same benefits as Amazon Linux, but it adds some new capabilities:

long-term support: […]

ssh tunnel for RDS AWS

ssh tunnel for RDS via bastion host

Our RDS db is hosted on Amazon. Our Bastion(Jumphost) can connect to the db. Connections to the db are not allowed outside of the internet.

 

 

Run ssh tunnel locally:

This creates a tunnel from my local machine to […]

Adding SMS Notifications to Your Bash Scripts

Cost Note: The first 100 text messages / month are free. After that, you may start incurring charges.

Step 1: Create an Appropriate AWS User

Start by creating a new User or Group in AWS with the appropriate privileges. You do NOT want to use your root account in production, for security reasons. I would […]

How to Install Configure AWS CLI -Linux, OS X, or Unix

How to Install Configure AWS CLI -Linux, OS X, or Unix AWS CLI (Command Line Interface)

The AWS Command Line Interface is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

Steps to […]

HTTPS TLS performance optimization details

HTTPS TLS performance optimization details

HTTPS (HTTP over SSL) is a security-oriented HTTP channel and can be understood as HTTP + SSL/TLS, that is, adding an SSL/TLS layer under HTTP as a security foundation. The predecessor of TLS is SSL. Currently, TLS 1.2 is widely used.

 

 

TLS performance tuning TLS is widely […]

ec2 cli -1

#!/bin/bash # EC2 # List your running EC2 istances aws ec2 describe-instances # Stops an instance aws ec2 stop-instances –instance-ids i-004f15f18e76bb7eb # Starts a stopped instance aws ec2 start-instances –instance-ids i-004f15f18e76bb7eb # Reboots an instance aws ec2 reboot-instances –instance-ids i-004f15f18e76bb7eb # List image information aws ec2 describe-images –image-ids ami-340aae4e #Creates an image from an instance […]

Backup Amazon EBS Volume Snapshots from Amazon Ec2

ata is the most important factor in any business and taking its backup on a regular interval of time is a handsome practice. We have come up the technique to auto backup Amazon EBS volume snapshots from running Amazon Ec2 instance using AWS CLI.

Prerequisite Amazon AWS account for creating Access key ID and […]

EC2 instance

** volume == hard disk security groups == virtual firewalls ————————– EC2 instances types: ‘Dr mc gift pix’ D-desnsity R-ram m-main choice (general) c-compute g-graphics i-iops f-fpga (field-programmable gate array) t–cheap (t2 micro) p-graphics(pics) x-extreme ————————– termination protection-off by default. EBS will be deleted when EC2 instance is terminated by default. EBS root volume of […]

VPC -AWS

** 1 subnet == 1 AZ. ACL = access control list SN = subnet IGW = internet gateway CIDR – classless inter-domain routing. -where we assign ip ranges NAT – network adress translation —————— internal ip address ranges (rfc 1918) 10.0.0.0 -10.255.255.255 (10/8 prefix) 172.16.0.0 – 172.31.255.255 (172.16/12 prefix) 192.168.0.0 – 192.168.255.255 (192.168 / 16 […]

Solution Architect Associate

1. Messaging 2. Desktop and App Streaming 3. Security and Identity 4. Management Tools 5. Storage 6. Databases 7. Networking & Content Delivery 8. Compute 9. AWS Global Infrastructure 10. Migration 11. Analytics 12. Application services 13. Developer Tools 1. Messaging: SNS – Simple Notification Service (Text, Email, Http) SQS – Simple queue Service […]