Deployment to the Elastic Beanstalk

beanstalk
Table of contents
Reading Time: 3 minutes

Hello Readers! In this blog we will see how we can deploy angular applications with the help of Elastic Beanstalk. In my previous blog you have seen how to deploy applications using EB CLI. The reference blog link is : https://blog.knoldus.com/deploying-app-in-elastic-beanstalk-using-eb-cli/

So, as you know that AWS Elastic Beanstalk is a service offered by AWS which helps us for deploying the applications.

Let’s get started !

Step 1: Firstly you must have an AWS account before starting. So, Create an AWS account if you don’t have one. After that Login to your AWS account and Click on Services menu > Choose Elastic Beanstalk.

ebs

Step 2:  Click on Create Application.

createapp

Give the application name and platform as your need.

createimage

Here I am choosing PHP as my platform.

php

Now, If you want to choose sample application code then you can. Otherwise you can upload your code here. I will choose to upload your code here.

code

Step 3: Click on Choose File.

So, let’s Upload the zip file of your code here. And Click on create application.

Elastic Beanstalk

Step 4:  Now you will be able to see the following page where you will see the create Environment is starting.

creating

And the following process will take a few minutes as it has to create many resources like ec2 instance, security groups, s3 bucket etc. After completing this process a page will open like this where you can see that the health of the application is green. It means everything is OK.

ebs

As we can see, beanstalk has provided the URL to access our application. If you click the URL provided here you will be able to see your application.

 So, let’s click it.

app

Congrats! 👏 You have deployed your application to Elastic Beanstalk with the easiest steps.

For instance, if you want to change the configuration of the deployed application. You can click here the option provided on the left side.

image

The list of the configurations you will see on the page. To do that click on the Edit button. Edit your configuration as per your need.

That’s it!. This was all about the easiest way of deploying applications in Elastic Beanstalk. Therefore you are done with deploying your app to the Elastic Beanstalk. Open the URL provided by the Elastic Beanstalk and enjoy!

Conclusion

Therefore In this blog we saw with a few easy steps how we can deploy our application in Elastic Beanstalk and you can also change the configuration as per your requirement. Thanks for being with me till the end. If you find this blog helpful do share with your friends.

HAPPY LEARNING!

Written by 

Naincy Kumari is a DevOps Consultant at Knoldus Inc. She is always ready to learn new technologies and tools. She loves painting and dancing.