Amazon EC2

EC2 and Compute Services Quick Notes (Numbers)

  1. General Purpose SSD (gp2) EBS Volume - Ratio of 3 IOPS per GB upto 10,000 IOPS. Burst upto 3000 IOPS for volumes under 1GB.

  2. Provisioned IOPS SSD (io1) EBS Volume - For more than 10,000 IOPS. Upto 20,000 IOPS per volume.

Amazon VPC Default Limits

These are only the defaults. Many of these can be changed by contacting AWS or other ways. Refer to the reference link for details.

 

  1. Flow logs per single network interface, single subnet, or single VPC in a region = 2

  2. VPCs per region = 5

  3. Elastic IP addresses per region = 5

  4. Egress-only Internet gateways per region = 5

Amazon EC2 Policies & Features (Exam Tips)

Quick updates on policies and features that was not discussed in other pages.

 

Uptime SLA

AWS will use commercially reasonable efforts to make Amazon EC2 and Amazon EBS each available with a Monthly Uptime Percentage (defined below) of at least 99.95%.

 

Elastic Load Balancing - Application Load Balancers vs. Classic Load Balancers

Amazon Elastic Load Balancing (ELB) automatically distributes incoming application traffic across multiple EC2 instances. ELB also automatically scales its request handling capacity to meet the demands of application traffic. 

Elastic Load Balancing supports two types of load balancers: Application Load Balancers (new) and Classic Load Balancers.

 

AWS CloudWatch Overview

Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications you run on AWS. You can use CloudWatch to gain system-wide info on resource utilization, application performance, and operational health, collect and track metrics, collect and monitor log files, set alarms, and automatically react to changes in your AWS resources.

Using Amazon EFS with Amazon EC2

Amazon Elastic File System (Amazon EFS) is a simple, scalable file storage for use with Amazon EC2 instances in the AWS Cloud.  With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files.

 

Introduction to AWS Lambda and Serverless Computing

AWS Lambda is a higher level abstraction that lets you run code without provisioning or managing servers, following the servlerless architecture. You can run code for virtually any type of application or backend service with no administration.

You just needs to upload your code and Lambda takes care of everything required to run and scale your code with high availability, such as server and operating system maintenance, capacity provisioning, automatic scaling, code and security patch deployment, code monitoring and even logging.

[Lab] Using Amazon EFS with Amazon EC2

Amazon Elastic File System (Amazon EFS) is a simple, scalable file storage for use with Amazon EC2 instances in the AWS Cloud.  With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files. Read more here.

 

Steps

  1. Go to AWS console and go to EFS.

Amazon EC2 Placement Groups

A placement group is a logical grouping of instances within a single AZ. Placement groups are recommended for applications that benefit from low network latency, high network throughput, or both.

 

Creating Placement Group & Launching Instances

First, you create a placement group and then you launch multiple instances into the placement group.

[Theory+Lab] Auto scaling Groups and Launch Configurations with Amazon EC2

Auto Scaling helps you maintain application availability and allows you to scale your Amazon EC2 capacity up or down automatically according to conditions you define. Before creating an auto scaling group, you need to create launch configurations, and is very similar to creating an EC2 instance.

If you have not deleted previous s3 bucket or the elastic load balancers, you may reuse them. Else you can create them following the exercises.

 

Pages