Lab 14: To configure an Elastic BeanStalk with Tomcat Applicaton
Lab 14: To configure an Elastic BeanStalk with Tomcat Applicaton
Objective:To Configure Elastic Beanstalk in AWS.
Topology:
Pre-Requites:
User should Have AWs Account ,or IAM user with AWS Elastic Beanstalk
TASK:
Create Elastic Beanstalk Tomcat Application
Deploy java war files
open Browser and check your web application
practical Steps:
1. To create Elastic Beanstalk Application
Open AWS Console
Select compute service
Click on "Elastic Beanstalk"
"Welcome to Amazon Elastic Beanstalk "page opens
click on "Get started"button
On "Create a web app",page provide values
Application Name----------->Tomcat app
Environment Name--------->Tomcat env
Drag Down
In platfoem box Select Tomcat
Drag Down
Select upload your code
Upload calender.war file
click on upload button
Leave remaining fields as defaults
verify that file is uploaded ,beside upload button
click "create Application"button
Verification
Tomcat application at background is getting created
progress on screen are displayed
verify
Note :This will take few minutes to start
wait untill Tomcat Dashboard id displayed on the screen
click on the URL link
verification
open any Browser
click on URL link
Website is open
To deploy another war file for eg hello.war
Go to upload application
choose file provide hello.war file name
click on Deploy button
click on URL
verify the website
4.To Remove Elastic Bean stalk
Select Action button
Click Delete application button
Application will now get terminated
Verification
After termination following screen will come
5.To delete Elastic Bean stalk policy is created in s3 bucket
Note: S3 bucket created by Elastic Bean stalk is not deleted automatically
It could be charged after free usage limits are over ,so manually delete the Elastic Bean bucket
From Console select"storage"
Select S3
Click on"Switch to old console"
Select Elastic Bean stalk bucket,click properties
select permissions
Select Elastic Bean stalk bucket ,click properties
select Permissions
Click "Edit bucket policy"
In Bucket policy Editor wizard,
Click Delete to remove policy,click ok
click on Save button

























Comments
Post a Comment