Professional Documents
Culture Documents
Lab 10.1 - Deployment A WebApp With Jenkins To EC2 Part II
Lab 10.1 - Deployment A WebApp With Jenkins To EC2 Part II
Lab 10.1 - Deployment A WebApp With Jenkins To EC2 Part II
Lab #10.1
Introduction: Welcome to this hands-on lab session on deploying a web application using Jenkins on
Amazon EC2! In today's dynamic and ever-evolving technological landscape, automating the
deployment process is crucial for achieving efficiency and reliability in software development. In this
lab, we will walk through the process of setting up a continuous integration and continuous deployment
(CI/CD) pipeline using Jenkins, a powerful automation tool. Our focus will be on deploying a web
application on Amazon EC2, a scalable and reliable cloud computing platform. Jenkins, an open-source
automation server, will play a pivotal role in automating the building, testing, and deployment phases of
our application. By the end of this lab, you will have gained practical experience in configuring Jenkins
pipelines, integrating it with version control systems, and orchestrating the deployment of a web
application on an EC2 instance.
Architecture
This is the basic structure of AWS EC2, where EC2 stands for Elastic Compute Cloud. EC2 allow users
to use virtual machines of different configurations as per their requirement. It allows various
configuration options, mapping of individual server, various pricing options, etc. We will discuss these
in detail in AWS Products section. Following is the diagrammatic representation of the architecture.
NOTE: TO BE ABLE TO COMPLETE THIS LAB YOU MUST COMPLETE LAB 9.1 FIRST.
You should use AWS Academy to perform this lab. If you don't have access to AWS
talk with your instructor.
Prerequisites
Objectives
Take a screenshot of your Dashboard EC2 with the compute instances and load balancer.
Take a screenshot of your ec2 productions env and the load balancer with the public IP.
You are required to complete the lab and record your answers. Rename the file using your first name
and the lab number, e.g., washington10.1.docx, and submit it through Canvas to receive marks for this
lab.