You are on page 1of 24

AWS Cloud Developer Program

1
Previous Sessions
Amazon Web Services (AWS) Lambda is a serverless computing
service provided by AWS that allows you to run your code without
provisioning or managing servers. With Lambda, you can execute
your applications or functions in response to events or triggers such
as changes in data, API requests, or time-based intervals.

AWS API Gateway is a fully managed service by AWS that enables you
to create, publish, and manage APIs for your applications. It acts as a
gateway between clients and backend services, allowing you to define
RESTful or WebSocket APIs with various integration options.

2
Today’s Agenda
Deploying applications to EC2 Linux using Bootstrapping at Instance launch time
Deploying applications using Elastic Beanstalk
Creating and managing Infrastructure using AWS CloudFormation
Demo 1: Deploying an application in a web server and launch time using a bootstrap method
Demo 2: Deploying a Tomcat web application server automatically in EC2 Compute
Demo 3: AWS Elastic Beanstalk scenario
Demo 4: Setting up an alarm for an EC2 instance
Demo 5: Creating a CloudFormation template to create and configure web server
Demo 6: Creating a VPC using CloudFormation template
Best practices
Summary of key points and Q&A discussion
3
Overview of AWS
Services Including
Elastic Beanstalk,
Edit Master text styles
CloudWatch, and
CloudFormation
Instructor: Sanjay

4
Goals and objectives of the session

1. Deploying an application on EC2 using bootstrap script at instance launch


2. Automatic deployment of Tomcat web application server on EC2
3. Deploying applications using AWS Elastic Beanstalk with ELB and ASG
4. Setting up alarms for EC2 instances using various metrics
5. Creating and configuring web server using CloudFormation template
6. Provisioning a VPC using CloudFormation template

5
Technical Prerequisites
In order to use Bootstrapping for Linux/Windows OS, auto application
deployment, and managing infrastructure using IaC, learners must have the
following skills:
Shell Scripting for Linux
PowerShell Scripting for Windows
AWS Elastic Beanstalk
AWS Elastic Load Balancing
AWS Auto Scaling
AWS CloudWatch
Infrastructure to manage or modify using CloudFormation
YAML/JSON Script to write programs for CloudFormation 6
Demo 1:
Deploying an
Application in a Web
Server attextLaunch
Edit Master styles Time
Using the Bootstrap
Method
Instructor: Sanjay

7
Poll 1
Click
What to add
capabilities doesTitle
AWS Elastic Beanstalk provide for deploying
and managing applications?

A) Infrastructure provisioning and configuration management


B) Real-time analytics and monitoring of application performance
C) Auto-scaling and load balancing of application resources
• Practice in teams of 4 students
D) All of the above • Industry expert mentoring to learn better
• Get personalised feedback for improvements

Footer 8
Poll 1
Click
What to add
capabilities doesTitle
AWS Elastic Beanstalk provide for deploying
and managing applications?

A) Infrastructure provisioning and configuration management


B) Real-time analytics and monitoring of application performance
C) Auto-scaling and load balancing of application resources
• Practice in teams of 4 students
D) All of the above • Industry expert mentoring to learn better
• Get personalised feedback for improvements

Footer 9
Poll 2
Click
How does to
AWSadd ElasticTitle
Beanstalk handle application updates and
versioning?
A) It automatically deploys updates to the application without any
downtime.
B) It creates separate environments for each application version
and allows manual switching between them.
C) It uses blue-green deployment strategy to deploy a new
version alongside the existing one, allowing for seamless
• Practice in teams of 4 students
rollbacks if needed.• Industry expert mentoring to learn better
D) It requires manual •intervention to update the application
Get personalised feedback for improvements

version and restart the environment.


Footer 10
Poll 2
Click
How does to
AWSadd ElasticTitle
Beanstalk handle application updates and
versioning?
A) It automatically deploys updates to the application without any
downtime.
B) It creates separate environments for each application version
and allows manual switching between them.
C) It uses blue-green deployment strategy to deploy a new
version alongside the existing one, allowing for seamless
• Practice in teams of 4 students
rollbacks if needed.• Industry expert mentoring to learn better
D) It requires manual •intervention to update the application
Get personalised feedback for improvements

version and restart the environment.


Footer 11
Demo 2:
Deploying a Tomcat
Web Application
Server
Edit MasterAutomatically
text styles

in EC2 Compute

Instructor: Sanjay

12
Demo 3:
Scenario: Deploying an
Application Using Load
Balancer
Edit Master and Conditional
text styles
Auto Scaling

Instructor: Sanjay

13
Discussing Differences Between
AWS Elastic Beanstalk and CloudFormation

14
Demo 4:
Setting up an Alarm
for
Editan EC2
Master textInstance
styles

Instructor: Sanjay

15
Discussing Elastic Beanstalk
Troubleshooting Common Issues and Errors

16
Demo 5:
Creating a
CloudFormation Template
to
EditCreate and
Master text Configure
styles
Web Server

Instructor: Sanjay

17
Poll 3
Click
What to benefits
are the add Title
of using AWS CloudFormation for
infrastructure management?
A) It provides real-time analytics and monitoring of resource utilization.
B) It simplifies the provisioning and management of complex, multi-tier
infrastructure.
C) It offers built-in security features for protecting infrastructure resources.
D) It enables seamless integration withof 4third-party
• Practice in teams students cloud providers.
• Industry expert mentoring to learn better
• Get personalised feedback for improvements

Footer 18
Poll 3
Click
What to benefits
are the add Title
of using AWS CloudFormation for
infrastructure management?
A) It provides real-time analytics and monitoring of resource utilization.
B) It simplifies the provisioning and management of complex, multi-tier
infrastructure.
C) It offers built-in security features for protecting infrastructure resources.
D) It enables seamless integration withof 4third-party
• Practice in teams students cloud providers.
• Industry expert mentoring to learn better
• Get personalised feedback for improvements

Footer 19
Demo 6:
Creating a VPC Using
CloudFormation
Edit Master text styles
Template

Instructor: Sanjay

20
Best Practices for AWS Elastic Beanstalk and CloudFormation

21
Summary and Key Takeaways
• AWS CloudFormation is a powerful service for automating the creation and management of AWS
infrastructure resources using templates.
• AWS Elastic Beanstalk is a fully managed service for deploying and scaling web applications and
providing capabilities such as infrastructure provisioning, auto-scaling, and monitoring.
• Elastic Beanstalk supports blue-green deployments, enabling seamless updates and rollbacks of
application versions.
• Best practices for CloudWatch and Alarms include setting up meaningful alarms, utilizing metric
filters and patterns, and leveraging CloudWatch Logs for centralized log management and
analysis.
• When working with AWS services, following best practices, such as tagging resources,
implementing security measures, and using AWS CloudFormation for infrastructure management,
can greatly enhance efficiency, security, and scalability.
• Demonstrations on deploying applications, creating VPCs, setting up alarms, and using
CloudFormation templates showcased the practical application of AWS services for various
scenarios.
• Continuous learning and exploration of AWS services and best practices are essential for
leveraging the full potential of AWS cloud resources and optimizing infrastructure deployments.
22
Questions and Answers

23
Thank You!

24

You might also like