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  

Amazon Web Services (AWS)

Amazon Web Services (AWS) Extensive set of cloud services available via the Internet On-demand, virtually endless, elastic resources Pay-per-use with no up-front costs (with optional commitment) Self-serviced and programmable

 

 

 

Elastic Compute Cloud (EC2) One of the core services of AWS Virtual machines (or instances) as a service Dozens of instance types […]

EC2 instance

chmod 400 SeniorServer.pem Server: ssh -i “SeniorServer.pem” ec2-user@ec2-54-149-37-172.us-west-2.compute.amazonaws.com password for root:qwe123456 server2: ssh -i “senior_design_victor.pem” ec2-user@ec2-54-69-160-179.us-west-2.compute.amazonaws.com controller: ssh -i “zheng.pem” ec2-user@ec2-52-34-59-51.us-west-2.compute.amazonaws.com DB: mysql -h seniordesign.c9btkcvedeon.us-west-2.rds.amazonaws.com -P 3306 -u root -p username: root password: qwe123456 use command “screen” to keep running server codes and controller codes on AWS screen #create a new screen session screen -ls […]

s3 aws instance

creating a bucket: ——————- S3 > Create bucket > unique name + region > create bucket > select > upload > upload file or drag n drop

Backup Files to Amazon S3 using the AWS CLI ——————————————— Step 1: create login for aws console: IAM > Users > Create > username: AWS_Admin > Permissions > […]

EC2 instance aws

Launch a Linux Virtual Machine =============================== Step 1: Launch an Amazon EC2 Instance EC2 console > launch instance Step 2: Configure your Instance a. Amazon Linux AMI b. t2.micro > default options c. review and launch d. create new key pair > “MyKeyPair” > Download key pair Windows users: We recommend saving your key pair […]

AWS Notes 2

Limits: ====== VPCs per region: 5 Subnets per VPC: 200 IGW per region: 5 VGW per region: 5 CGW per region: 50 VPN connections per region: 50 Route tables per VPC: 200 (including main route table) Entries per route table: 50 EIP per region for each account: 5 Security groups per VPC: 100 Rules per […]

AWS – Amazon Web Service – Concepts

AWS : Amazon Web Services is a Cloud Service Provider, AKA – Infrastructure as a Service (IaaS). – Storage, Computing Power, Databases, Networking, Analytics, Developer Tools, Virtualization, Security.

Major Terminology/Reason/Advantages: #################################### – High Availibility – Fault Tolerance – Scalability (automatically grow Dynamically) – Elasticity (automatically srink Dtynamically)

– Instance (Server)

Services: ########

VPCs: Virtual Private […]

aws cli part -1

1. Create a VPC

aws ec2 create-vpc –cidr-block 10.0.0.0/16

2. Create a VPC with dedicated tenancy

aws ec2 create-vpc –cidr-block 10.0.0.0/16 –instance-tenancy dedicated

3. Create a VPC with an IPv6 CIDR block

aws ec2 create-vpc –cidr-block 10.16.0.0/16 –amazon-provided-ipv6-cidr-block >> /root/awscreateVPC.json

4. Create a subnet within the VPC

aws ec2 create-subnet –vpc-id vpc-b774aace –cidr-block 10.16.1.0/24 >> […]

HOW TO MOVE AWS EC2 INSTANCE FROM ONE ACCOUNT TO ANOTHER

What is Amazon AMI? An Amazon Machine Image (AMI) is a special type of pre-configured operating system and virtual application software which is used to create a virtual machine within the Amazon Elastic Compute Cloud (EC2). It serves as the basic unit of deployment for services delivered using EC2. See https://aws.amazon.com/amis for more details about […]

Application Load Balancer

 

 

Create an Application Load Balancer The Application Load Balancer is a flavor of the Elastic Load Balancing (ELB) service. It works more or less the same as a Classic Load Balancer, however, it has several additional features and some new concepts you need to understand so this Lab will covers those first. AWS […]

Recommended Network ACL Rules for Your VPC

Recommended Rules for Scenario 1

Scenario 1 is a single subnet with instances that can receive and send Internet traffic. For more information, see Scenario 1: VPC with a Single Public Subnet.

The following table shows the rules we recommended. They block all traffic except that which is explicitly required.

Inbound Rule # Source IP […]