Preparation
In this section, we will perform the necessary steps to set up access permissions (IAM) in preparation for deploying the WordPress application. Specifically, these preparation steps aim to:
- Create Access Key: Provide credentials to configure the AWS CLI tool, allowing you to interact with and manage AWS resources from the command line interface.
- Create instance profile: Create an IAM Role to attach to the EC2 instance, granting the EC2 server permission to read and download the deployment source code stored on Amazon S3.
- Create service role: Grant permissions to the AWS CodeDeploy service so that it can interact with EC2 and automate the application deployment process.