Understanding AWS Compute Services — From Zero to Hero
Understanding AWS Compute Services — From Zero to Hero

CLOUD LABS

Understanding AWS Compute Services — From Zero to Hero

In this Cloud Lab, we will learn to master an EC2 instance, Lambda function and deploy a Docker container on ECS using a private repository on ECR.

11 Tasks

beginner

2hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Ability to create and configure security groups in AWS
Hands-on experience deploying web applications on Amazon EC2 instances
Thorough understanding of AWS Lambda and its use cases
Hands-on experience creating a Lambda function URL
Ability to create private repositories on Amazon ECR to store Docker images securely
Understanding of ECS cluster creation and task definitions for running Docker containers on the cluster

Technologies
AWS logoAWS
EC2
Lambda
ECS
ECR
Skills Covered
Using AWS Cloud Services
Cloud Lab Overview

Amazon Web Services (AWS) offers diverse computing services tailored to various needs. Amazon EC2 provides scalable virtual servers for a wide array of applications. AWS Lambda offers serverless computing that allows running code in response to events without managing servers. Amazon ECS is a container management service that streamlines the deployment and scaling of containerized applications. These services collectively empower developers with flexible and scalable computing options in the AWS ecosystem.

In this Cloud Lab, you will practice with different AWS compute services, starting with EC2. You will create a security group to allow access to your EC2 instance and run a react application on the Instance. Then, you will create a role and then create and test a lambda function. Further, you will create a private repository on Amazon ECR to store your Docker image. Next, you will use the EC2 instance to build your Docker image before pushing it to your ECR repository. Once the Docker image is successfully uploaded to ECR, you create an ECS cluster and task definition. After that, you will define a task for your cluster by registering a task definition and specifying the Docker image and the resources required to run the container. Lastly, you will run the task on the ECS cluster, which will deploy the containerized application.

By the end of this Cloud Lab, you will have mastered AWS compute services and learned to create an EC2 instance, Lambda function, ECR repository, building a Docker image, and running a task on an ECS cluster. These skills are essential to master AWS compute services and ensure the smooth deployment of your applications on AWS compute services.

The following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Elastic Compute Cloud (EC2)
Create a Security Group
Launch an Instance
Configure and Test the Instance
3.Lambda
Create a Lambda Function
Configure and Test the Lambda Function
4.Elastic Container Service
Create a Repository and Push the Docker Image
Create an ECS Cluster
Configure a Task Definition
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image