Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » AWS/Azure/OpenShift » How to create an Elastic Beanstalk environment in AWS
  • Chocolatey Packages
    Create Chocolatey Package: Upgrade Software with Chocolatey Scripts
  • Screenshot 2020 07 23 at 18.29.00
    Universal, Global, and Domain Local Group Scopes Differences Windows
  • sql server
    Download and install MSSQL 2019 Express Edition and SSMS Oracle/MSSQL/MySQL
  • GNS3
    How to Connect GNS3 to the internet on Windows Network | Monitoring
  • Screenshot 1
    Using IBM Library with Veeam Network | Monitoring
  • Directmemoryattack
    How to Protect Thunderbolt Ports in Windows Windows
  • Slide1
    Read-only Files: Saving Files in VIM Editor on Linux/Unix-like OS Linux
  • Dockerxx1
    How to install and uninstall Docker Desktop on Windows 10 and Windows Server Containers

How to create an Elastic Beanstalk environment in AWS

Posted on 01/03/202401/03/2024 Raphael Gab-Momoh By Raphael Gab-Momoh No Comments on How to create an Elastic Beanstalk environment in AWS
Screenshot-2024-02-29-at-8.03.48 PM

This guide will walk you through creating an Elastic Beanstalk environment in AWS. Think of Elastic Beanstalk as your personal deployment genie in the cloud. It handles all infrastructure details, allowing you to focus on code. It supports various languages and works, making it ideal for developers. Plus, it offers perks like auto-scaling and seamless integration with AWS services. Other guides can be found here: How to install and manage ClamAV and ClamTK on Ubuntu Linux and GitHub Pages Deployment Guide also How to Install Azure Backup Agent

With Elastic Beanstalk, deploying and scaling applications is as easy as waving a wand.

You can see other guides here: How to Create Self-Hosted Agent for Azure DevOps Pipelines and VPC, Subnet, NACL, Security Group: Create your own Network on AWS from Scratch [Part 2] and How to Create Self-Hosted Agent for Azure DevOps Pipelines

Search for EBS on the AWS Console

Type EBS and click enter

How-to-create-an-Elastic-Beanstalk-environmentEBS-in-AWS

Create an EBS application

This is done by clicking on the application as shown below.

ebs-

fill out all of the required information.

Configure-environment

Examining the screenshot provided above, it’s evident that: Initially, we selected a web environment. Subsequently, we inputted an application name. Lastly, the environment name was automatically assigned to us.

How-to-create-EBS-environment-2

Highlights from the screenshot above: Initially, the platform type was automatically selected.

Next, we selected PHP as the platform. Finally, we opted for the Sample application instead of uploading the code. Leave all other settings as default and proceed by clicking “Next.”.

Create an EC2 instance profile

This is the most important part that requires attention. Consequently, if you make a mistake with this, the deployment may fail. Clicking on “view permission” on the access page of the EBS tells us that we need to create an ECS role. Therefore, let’s head over to IAM and create this.

How-to-create-an-EBS-environment-AWS

On a separate tab, go to the AWS console and create an EC2 profile. We can create an EC2 instance profile by following the steps. Search for IAM

IAM

Click on roles

Roles

Next would be to Create role

Role

Under trusted entity type, choose AWS Service

Create-an-EBS-environment-ec2-proifle

Under use case Select EC2 and navigate to the Next button.

Finally, search for AWSElasticBeanstalkWebTier which is the specific role copied from the view page section of the access page. Select the permission and navigate to the Next

AWSElasticBeanstalkWebTier-ec2-prof2

This is the final step of the creation process, so enter the information for the name and others and go and hit the submit button.

Create-an-EBS-environment-Name-review-and-create-

Move to Create role to complete the process

create-an-EBS-profile-create-role

Finally, we can see that we have created an EC2 profile

Create-an-EBS-environment-EC2-Instance-profile

Now that the most important step is out of the way, we can return back to the configure access for the EBS environment.

Configure EBS Application Access

We need to click on use an existing service role since this was created in the previous step

existing

We need to select the EC2 instance profile. The one we created in the previous step might not come up immediately, so there is a need to do a refresh till it shows up.

instance-profile

Click on Next to proceed to the final phase.

existing2

Networking, database, and tags are optional for this section. However, we must not overlook the issue of the VPC. Additionally, we should ensure that at least one availability zone is selected.

optional

Instance traffic and scaling are optional so, go with the default options.

optional-2

The next item is for monitoring, just go with all the default options.

monitoring

Finally, click on the submit button.

submit

Creating the environment might require some time, but eventually, it will be created, as shown below.

env

The URL can be retrieved from the main page as shown below:

domainurl

If we past the URL for the domain in a browser, we will see the following:

domain-urls

We can see that EBS created other services as well.

EC2-created

Conclusion on creating an Elastic Beanstalk application in AWS

Elastic Beanstalk, as an AWS platform-as-a-service solution, offers developers the convenience of seamlessly provisioning additional services required for application development with minimal developer intervention.

By following a simple guide, developers can easily learn the steps to create an Elastic Beanstalk environment, streamlining the deployment process and reducing unnecessary stress.

I hope you found this guide on how to create an Elastic Beanstalk environment in AWS useful. Please feel free to leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift

Post navigation

Previous Post: How to Troubleshoot Unable to Install Office
Next Post: How to create an Amazon Relational Database Service Instance

Related Posts

  • Cloud Cost
    How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift
  • Webp.net resizeimage 1
    Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
  • Convert PEM to PPK 1
    Convert a PEM Key to a PPK Key on a Linux and Windows AWS/Azure/OpenShift
  • awscli56
    Configure AWS Command Line Interface AWS/Azure/OpenShift
  • adfs
    Guide on federating ADFS with Azure Active Directory AWS/Azure/OpenShift
  • cloudqueryfeature
    How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift

More Related Articles

Cloud Cost How to Control Cloud Cost Using Azure VM AWS/Azure/OpenShift
Webp.net resizeimage 1 Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
Convert PEM to PPK 1 Convert a PEM Key to a PPK Key on a Linux and Windows AWS/Azure/OpenShift
awscli56 Configure AWS Command Line Interface AWS/Azure/OpenShift
adfs Guide on federating ADFS with Azure Active Directory AWS/Azure/OpenShift
cloudqueryfeature How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Chocolatey Packages
    Create Chocolatey Package: Upgrade Software with Chocolatey Scripts
  • Screenshot 2020 07 23 at 18.29.00
    Universal, Global, and Domain Local Group Scopes Differences Windows
  • sql server
    Download and install MSSQL 2019 Express Edition and SSMS Oracle/MSSQL/MySQL
  • GNS3
    How to Connect GNS3 to the internet on Windows Network | Monitoring
  • Screenshot 1
    Using IBM Library with Veeam Network | Monitoring
  • Directmemoryattack
    How to Protect Thunderbolt Ports in Windows Windows
  • Slide1
    Read-only Files: Saving Files in VIM Editor on Linux/Unix-like OS Linux
  • Dockerxx1
    How to install and uninstall Docker Desktop on Windows 10 and Windows Server Containers

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.