0% found this document useful (0 votes)
19 views13 pages

CCV Project

Uploaded by

harshithkataray1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views13 pages

CCV Project

Uploaded by

harshithkataray1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

AWS ELASTIC BEANSTALK

A Course End Project Report in Cloud Computing and Virtualization Laboratory


(Course Code - A8524)

Submitted in the Partial Fulfilment of the

Requirements

for the Award of the Degree of

BACHELOR OF TECHNOLOGY
IN

COMPUTER SCIENCE AND ENGINEERING


Submitted

By

K.Harshith

22881A0583 Y.Surya Prakash Reddy

22881A05C7

Under the Esteemed Guidance of

Dr.U.Seshadri

VARDHAMAN COLLEGE OF ENGINEERING, HYDERABAD


(AUTONOMOUS)
Affiliated to JNTUH, Approved by AICTE, Accredited by NAAC with A++ Grade, ISO 9001:2015 Certified
Kacharam, Shamshabad, Hyderabad – 501218, Telangana, India

April, 2025
VARDHAMAN COLLEGE OF ENGINEERING
(AUTONOMOUS)
Affiliated to JNTUH, Approved by AICTE, Accredited by NAAC with A++ Grade, ISO 9001:2015
Certified Kacharam, Shamshabad, Hyderabad – 501218, Telangana, India

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE

This is to certify that the Course End Project titled “AWS Elastic Beanstalk” is carried out by
K.Harshith, Y.Surya Prakash Reddy Roll Number 22881A0583, 22881A05C7 towards A8524 –
Cloud Computing and Virtualization Laboratory course in partial fulfilment of the
requirements for the award of degree of Bachelor of Technology in Computer Science and
Engineering during the Academic year 2024-25.

Signature of the Course Faculty


Signature of the HoD
Dr.U.Seshadri
Dr. Ramesh Karnati
Associate Professor, CSE
HOD, CSE
ACKNOWLEDGEMENT

The satisfaction that accompanies the successful completion of the task would be put incomplete
without the mention of the people who made it possible, whose constant guidance and encouragement
crown all the efforts with success.

We wish to express our deep sense of gratitude to Dr.U.Seshadri, Associate Professor, Department of
Computer Science and Engineering, Vardhaman College of Engineering, for her able guidance and useful
suggestions, which helped us in completing the design part of potential project in time.

We particularly thankful to Dr. Ramesh Karnati, Associate Professor & Head, Department of
Computer Science and Engineering for his guidance, intense support and encouragement, which helped
us to mould our project into a successful one.

We show gratitude to our honorable Principal Dr. J.V.R. Ravindra, for having provided all the
facilities and support.

We avail this opportunity to express our deep sense of gratitude and heartfelt thanks to Dr.Teegala
Vijender Reddy, Chairman and Sri Teegala Upender Reddy, Secretary of VCE, for providing a
congenial atmosphere to complete this project successfully.

We also thank all the staff members of Computer Science and Engineering for their valuable support
and generous advice. Finally, thanks to all our friends and family members for their continuous support
and enthusiastic help.

K.Harshit - 22881A0583

Y.Surya Prakash Reddy - 22881A05C7


INDEX

1. Introduction..................................................................................................................................1

2. AWS Services Used.....................................................................................................................1

3. Architecture Diagram...................................................................................................................2

4. Project Implementation steps.......................................................................................................2

5. Security Configuration.................................................................................................................3

6. Testing and Output.......................................................................................................................3

7. Results..........................................................................................................................................4

8. Challenges Faces..........................................................................................................................4

9. Conclusion....................................................................................................................................4

10. Screenshots...................................................................................................................................4
11. References....................................................................................................................................9
1. Introduction

This project demonstrates the deployment and management of a web application using AWS
Elastic Beanstalk, a fully managed service provided by Amazon Web Services. Elastic
Beanstalk simplifies the process of deploying applications by automatically handling
infrastructure provisioning, load balancing, auto-scaling, and monitoring. It allows
developers to focus on writing code while AWS manages the underlying environment. In
this project, a web application was deployed on Elastic Beanstalk, utilizing various AWS
services like EC2, S3, CloudWatch, and IAM for storage, monitoring, and security. The
project ensures easy deployment, high availability, scalability, and better management of
the application infrastructure

2. AWS Services Used

AWS Service Purpose

Elastic Beanstalk Deploy, manage, and scale the


web application automatically

EC2 (Elastic Compute Cloud) Provides virtual servers to run the application
in the Beanstalk environment

S3 (Simple Storage Service) Stores application versions, deployment files,


and log files

RDS (Relational Database Service) (Optional) Provides managed database service for backend
data storage

IAM (Identity and Access Management) Manages user permissions and secures
AWS resources

CloudWatch Monitors application performance, generates


alerts, and manages logs

Route 53 (Optional) Manages domain name system (DNS) and


routes traffic to the application

1
3. Architecture Diagram

4. Project Implementation Steps


Step 1: Create Elastic Beanstalk Application

 Logged in to AWS Management Console.


 Navigated to Elastic Beanstalk service.
 Created a new Application with a suitable name and description.
 Selected the required platform (like Python, Node.js, Java, PHP, etc.).

Step 2: Create Environment in Elastic Beanstalk

 Selected Web Server Environment type.


 Uploaded the application code in ZIP format.
 Configured environment settings like Instance type, Auto-scaling, Load balancer, etc.
 Created the environment and launched it successfully.

Step 3: Deploy Application

 Deployed the application to Elastic Beanstalk environment.


 Elastic Beanstalk automatically created necessary AWS resources:
 EC2 Instances, Auto Scaling Group, Load Balancer, Security Groups.
 Obtained Elastic Beanstalk environment URL.

Step 4: Configure Domain using Route 53 (Optional)

 Created a Hosted Zone in Route 53.


 Added DNS Records pointing to Elastic Beanstalk environment.
 Enabled domain routing through Route 53.

2
 Tested custom domain accessibility.

Step 5: Enable Monitoring and Logging

 Enabled AWS CloudWatch for monitoring application performance.


 Enabled application logs to be stored in S3 bucket.
 Configured CloudWatch alarms for monitoring metrics like CPU usage, latency,
and errors.

Step 6: Configure Security Settings

 Configured IAM roles and policies for secure access.


 Enabled HTTPS using AWS Certificate Manager (ACM).
 Restricted inbound and outbound traffic using security groups.
 Ensured least privilege access policy.

Step 7: Test and Verify Application

 Accessed the application through Elastic Beanstalk URL.


 Verified application functionality.
 Tested Auto-scaling feature by simulating load.
 Verified domain routing via Route 53.

5. Security Configuration
 Implemented least-privilege IAM policies for secure access to AWS resources.
 Enabled HTTPS support using AWS Certificate Manager (ACM) to
secure communication.
 Configured security groups to allow only necessary inbound and outbound traffic.
 Applied encryption for data at rest and in transit.
 Enabled CloudWatch Alarms for monitoring security-related metrics.
 Configured environment variables securely in Elastic Beanstalk console.
 Enabled automatic platform updates and patching for security.
 Restricted S3 bucket access for storing logs — allowed access only from
required services.

6. Testing and Output


 Accessed the web application using the Elastic Beanstalk provided URL.
 Verified proper deployment and working of the application.
 Checked application performance and loading speed.
 Ensured the SSL certificate was properly installed and HTTPS was working.
 Verified domain routing and DNS resolution (if configured using Route 53).
 Tested application functionality across multiple devices and browsers.
 Monitored logs in Elastic Beanstalk and CloudWatch for any errors or issues.

3
7. Results
 Web application hosted successfully using AWS Elastic Beanstalk.
 Application performance optimized with fast loading speeds.
 SSL certificate automatically managed and HTTPS enabled via AWS services.
 Elastic Beanstalk handled automatic deployment, scaling, and monitoring.
 Optional custom domain configured through Route 53 and working perfectly.
 Users were able to access the website securely and efficiently from
different locations.

8. Challenges Faced
 Faced initial CORS (Cross-Origin Resource Sharing) policy misconfiguration
while accessing resources.
 Delay in CloudFront distribution deployment due to caching and propagation time.
 Minor troubleshooting required while configuring custom domain in Route 53.
 Environment configuration issues during Elastic Beanstalk deployment initially.

9. Conclusion

This project provided hands-on experience with AWS Elastic Beanstalk, S3, CloudFront, and
Route 53 services. It demonstrated efficient cloud storage utilization, performance
enhancement using CDN, secure hosting of applications, and domain management. This
project helped in understanding real-world deployment practices in AWS cloud
environment and implementing best security and optimization strategies.

10. Screenshots
i) Navigate to Amazon Elastic Beanstalk Application Page

4
ii) Configure environment

iii) Configure service access

5
iv) Set up networking, database, and tags

v) Configure instance traffic and scaling

6
vi) Configure updates, monitoring, and logging

vii) Review

7
viii) Environment creation

ix) AWS Elastic Beanstalk creation

8
11. References
 AWS Elastic Beanstalk Documentation -
https://docs.aws.amazon.com/elasticbeanstalk/
 AWS S3 Documentation - https://docs.aws.amazon.com/s3/
 AWS CloudFront Documentation - https://docs.aws.amazon.com/cloudfront/
 AWS Route 53 Documentation - https://docs.aws.amazon.com/route53/
 AWS IAM Documentation - https://docs.aws.amazon.com/iam/
 AWS Official Website - https://aws.amazon.com/

You might also like