Amazon Cloud Compute Workshop: Backbone of AWS
Table of Contents
- Table of Contents
- Workshop Overview
- Prerequisites
- Workshop Elements
- History of AWS
- AWS Architecture
- EC2 and its Pricing
- Creating an Instance
- Creating an Instance using AWS CLI
- Instance Connect
- Security Groups
- S3 and IAM with EC2
- EC2 Amazon Machine Image
- Elastic IP
- Elastic Block Storage
- Creating a load balancer
- Auto Scaling Group
Workshop Overview
In this workshop, you'll gain a deep understanding of AWS Elastic Compute Cloud (EC2), with a focus on launching and managing EC2 instances. Through hands-on activities, you'll learn to configure and secure your EC2 environments, manage instance types, and optimize performance for your applications.
By the end of the session, you will have the skills to effectively deploy, manage, and scale EC2 instances, ensuring high availability, security, and cost-efficiency in your AWS infrastructure.
Prerequisites
Ensure you have the following tools installed before starting:
- Windows Subsystem for Linux (WSL): Install WSL
- AWS CLI v2: Install AWS CLI v2
- AWS IAM User with Admin Access: Create an IAM User
Workshop Elements
History of AWS
This section covers the Emergence of Cloud-Based Services.
AWS Architecture
Explore and know how the AWS provides a vast and scalable cloud platform that enables companies to deliver services globally. Key points include:
- AWS Global Infrastruture: This tackles regions and availability Zones along with its purpose, usage and exaples.
- Core AWS Services: Compute services as the backbone for processing power on AWS, Storage, Networking, Databses, Content Delivery, Security, Elasticity & sclaing, and Serverless architecture and their importance to AWS Architecture.
- Key Benefits of AWS Global Architecture
EC2 and its Pricing
Understand the Amazon Elastic Compute Cloud (Amazon EC2) along with it features. This will cover also the different pricing for related services.
Creating an Instance
Learn the steps in launching your first EC2 instance. The following will serve as the primer to your journey:
- Guide to Launching Your First EC2 Instance: Detailed instructions on setting up new AWS accounts.
Creating an Instance using AWS CLI
- Making an EC2 Instance using AWS CLI, the way to interact with AWS services programmatically, this guide also gives you the guide to Create Access Keys in the Management Console .
Instance Connect
This will give you an understanding regarding the access to a server in the cloud, allowing administrators and developers to manage, configure, and maintain the infrastructure remotely. This module includes:
- What is key pair?: Vital to secure access to your Amazon EC2 instance.
- How the Key Pairs Work in SSH: Demonstration of user and host key pairs.
- SSH Handshake and its benefits
- Connecting to your instance: steps to connect after launching EC2 instance.
Security Groups
Know the role of security groups in EC2 instances and the best practices for using one along with Understanding IP addresses.
- Apache Web Server Setup on EC2 instace
S3 and IAM with EC2
Understanding what is Amazon S3 and IAM role and its relation EC2 isntance.
- Guide to Adding files to EC2 instance
EC2 Amazon Machine Image
Discover Amazon Machine Image as a requirement to set up and boot an Amazon EC2 instance.
- Creating a Pre-built AMI from an Instance: Steps to create a pre-built AMI with the image captured from our instance.
Elastic IP
Introduction to Elastic IP with its Key Features and Benefits, security access, cost and tagging, and regional availability.
- Setting Up an Elastic IP
Elastic Block Storage
Explore the range of EC2 storage available particularly understanding what is EBS and EFS. The following includes in this section:
- Storage in EC2: Storage options can be used independently or in combination.
- EBS volumes: It's the storage volumes that you attach to Amazon EC2 instances.
- EBS snapshots: The backups of Amazon EBS volumes.
- EBS volume types:
- Features and benefits of Amazon EBS volumes
- Elastic File System (EFS): 'for limux instance'
- EBS Lifecycle Manager: This is for the automation of the creation, retention, and deletion of EBS snapshots and EBS-backed AMIs.
- Expanding an EBS Volume: Steps to expand the EBS volume and the file system on the EC2 instance.
- Configuring an Elastic Load Balancer with Multiple Instances: This is the guide in setting up an (ELB) with three EC2 instances that provide slightly different outputs.
Creating a load balancer
- This part will walk you through the process of setting up an Elastic Load Balancer (ELB) with three EC2 instances that provide slightly different outputs. This setup will help demonstrate how load balancing works by distributing traffic across the instances.
Auto Scaling Group
This will help in ensuring the correct number of Amazon EC2 instances available to handle the load for an application. Key points include:
- Creating a launch template: Best practices for attaching and managing policies.
- Create ASG using launch configurations: Best practices for attaching and managing policies.
- Scaling Methods: Several ways to scale Auto Scaling group.
- Challenges of using EC2 Auto Scaling'