Lesson 3 AWS Compute
Lesson 3 AWS Compute
Lesson 3 AWS Compute
AWS Compute
A Day in the Life of a Cloud Consultant
This lesson will help you understand crucial concepts to design a solution fitting
these needs and provide added features.
Learning Objectives
Assess elastic compute cloud (EC2) and its instance life cycle
A service that allows you to run batch computing workloads on Amazon Web Services (AWS)
This service may instantly provision resources in response to jobs, thus removing capacity
limitations, lowering compute costs, and delivering results promptly.
AWS Auto Scaling Group
A logical grouping of Amazon EC2 instances used for automatic scaling and management
It also enables you to use Amazon EC2 Auto Scaling features such as health check
replacements and scaling policies.
Load Balancing
What Is Load Balancing?
Load balancing refers to the distribution of incoming network traffic across multiple backend
servers efficiently.
Types of Load Balancing
Problem Statement:
You have been assigned a task to demonstrate the creation of an Elastic Load Balancer in the AWS
Management Console.
Assisted Practice: Guidelines
Steps to be followed:
They provide users with flexibility, offering various computing, memory, and storage specifications.
An Amazon machine image (AMI) is a special type of virtual appliance for creating a virtual
machine within the Amazon EC2.
Launch
Instance
Create Register
AMI #1
EBS snapshot Copy
or template
AMI #2
Deregister
Users can create and register an AMI for launching new instances; when users no longer
require an AMI, they can deregister it.
Amazon Machine Images
WWW
EC2 machine
Security Group Rules
The security group has specific inbound rules for TCP and ICMP traffic and outbound rules that
allow all outbound IPv4 and IPv6 traffic.
Inbound rules
Launch Start
AMI Pending
Reboot Stop
Rebooting Running Stopping Stopped
Stop-Hibernate
Shutting down
Terminated
Terminate
EC2 Instance Connect
Amazon EC2 Instance Connect provides an easy and secure way to connect to Linux instances
using Secure Shell (SSH).
EC2 Instance Connect
Users can utilize EC2 Instance Connect to connect to their instances through:
Problem Statement:
You have been assigned a task to demonstrate the process of creating and connecting to an EC2
instance in AWS.
Assisted Practice: Guidelines
Steps to be followed:
• Using simple API calls, Amazon ECS allows you to start and
stop your Container-based applications.
• You can get information about the state of your cluster from
a centralized service and use numerous other Amazon EC2
features.
Assisted Practice
Problem Statement:
You have been assigned a task to create an Amazon Elastic Container Service (ECS) cluster.
Assisted Practice: Guidelines
Steps to be followed:
Customers may push, pull, and manage images using the traditional Docker CLI
or their preferred client.
Amazon Elastic Container Registry
Serverless is a cloud-based code execution approach in which cloud providers handle servers
and compute resource management rather than the developers.
Virtual machines or physical servers are not used because vendors automatically deploy
them in the cloud.
Introduction to Serverless Architecture
AWS Lambda, AWS Fargate, AWS EventBridge, and AWS Aurora serverless are some well-known
examples of serverless services offered by AWS.
Servers are still used in serverless, but they are separated from the app development process.
AWS Lambda
A serverless computing technology that allows you to run your code without having to worry
about procuring or managing servers
It allows you to execute your application or backend service with zero administration.
Features of AWS Lambda
● All roles and security policies are defined using AWS IAM.
● It provides fault tolerance for both the code and the function
operating services.
Elastic Beanstalk
Elastic Beanstalk
AWS Elastic Beanstalk is a computing solution that allows developers to easily deploy and
maintain applications on the AWS cloud.
Upload your code, and Elastic Beanstalk will take care of the rest, including capacity
provisioning, load balancing, auto-scaling, and application health monitoring.
Features of Elastic Beanstalk
It is a service that offers virtual private offerings and services with a range of templates to pick from.
Also known as a virtual machine or a virtual private server, it's essentially a server or
computing machine that can't be seen physically.
Amazon Lightsail
You may use it to swiftly offer Windows or Linux desktops and scale to provide thousands of
workstations to workers around the world in just a few minutes.
Amazon Workspaces
Duration: 30 Minutes.
Project Agenda: To create a classic load balancer through the AWS
management console
Description:
You have been given a project to create a load balancer to use EC2-Classic or
a VPC. Users will build a load balancer that accepts public HTTP traffic and
routes it to the EC2 instances.
Perform the following:
1. Select a load balancer type
2. Define the load balancer
3. Assign security groups to the load balancer in a VPC
4. Register EC2 instances with the load balancer
5. Create and verify the load balancer
Thank you