Getting started with Elastic Beanstalk
In this section, we will be performing a deep dive into how to set up a fully-functional Dev and Prod environment for our simple WordPress application using Elastic Beanstalk. Before we get started, here is a list of some prerequisite items that you need to have in place before we can proceed:
- A valid AWS account and user credentials with the required set of privileges to run the AWS CLI and the Elastic Beanstalk CLI.
- A sandbox/Dev instance to download the WordPress installation and later use it to push the application code over to the respective Beanstalk environment. Note that you can also use other resources, such as a Git URL or an IDE, but for now we will be focusing on this approach.
Creating the Dev environment
Let's first start off by creating a simple and straightforward development environment for our WordPress site. To do so, execute the following steps:
- Sign in to the AWS Console and select the Elastic Beanstalk option from the
Services
filter...