In this tutorial, we will learn how to deploy a website/web app on AWS Elastic Beanstalk using both Python. AWS Elastic Beanstalk is a fully managed service that makes it easy to deploy, manage, and scale applications. Whether you're building a simple personal website or a complex web application, Elastic Beanstalk simplifies the process of deployment and server management.
We start of by visiting the AWS Elastic beanstalk developer guide, sample sand tutorial page here.
☉ Extract the nodejs.zip file and open the index.html
☉ Replace the html code in the index.html file with your own code and save your changes.
☉ compress the contents.
☉ On the AWS console click services ⇨ compute ⇨ Elastic Beanstalk ⇨ Create Application
☉ Select "Web server environment" for the environment tier.
☉ Give the application a name. For this tutorial its "nodeJStutorial"
☉ The Environment name will be auto-generated. You can add a domain name, but check its availability before moving forward.
☉ Under Platform type select "Managed platform". Under Platform select "Node.js".
☉ For application Code select "Upload own code". Give the application a version number, the select "local file" in order to upload the zip file we created earlier.
☉ Under Presets Select Single instance to avoid charges. This is VERY IMPORTANT!!! After that click next.
☉ On the next page scroll down and click "Skip to review"
☉ On the review page click "Submit"
☉ It may take a few minutes before the application is deployed, but if the application is deployed the status will be "ok"
☉ You can share the url of the application to anyone because it is online
☉ Remember to terminate/delete your applications once you are done.
Thanks for visiting Net Cloud Insights comment bellow any questions or suggestions. a video tutorial will be out soon on YouTube and on an updated version of this post.
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
Comments
Post a Comment