Configuring a AWS Elastic Beanstalk Server
Deploying to AWS Elastic Beanstalk
This guide outlines the steps to configure DeployHQ for deployments to AWS Elastic Beanstalk.
Prerequisites:
Beta Features Enabled: Ensure that "Beta features" are enabled in your DeployHQ account settings. This is a prerequisite for utilizing the AWS Elastic Beanstalk integration.
Required AWS Permissions:
Your AWS user must have the following permissions for Elastic Beanstalk and S3. More details can be found in the Elastic Beanstalk documentation:
-
elasticbeanstalk:DescribeApplications
-
elasticbeanstalk:DescribeEnvironments
-
elasticbeanstalk:CreateApplicationVersion
-
elasticbeanstalk:UpdateEnvironment
-
s3:CreateBucket
-
s3:PutObject
-
s3:GetBucketLocation
-
s3:PutBucketVersioning
Step-by-Step Configuration:
Select Protocol: Begin by navigating to your server settings within DeployHQ and select AWS ElasticBeanstalk as your server's protocol.
AWS Credentials and Region: Next, you will be prompted to enter your AWS credentials and select your deployment region:
- Access Key ID: Enter your AWS Access Key ID.
- Secret Access Key: Enter your AWS Secret Access Key.
- Region: Select the AWS region where your Elastic Beanstalk application is hosted.
- Select Application: After successfully entering your AWS credentials and selecting the region, you will be able to select your specific AWS Elastic Beanstalk application from a list.
Once these steps are completed, your server will be configured and ready for deployments to your AWS Elastic Beanstalk application.