AWS deployments
CloudBees CodeShip Basic offers a variety of turnkey deployment integrations for AWS, including:
These are the simplest ways to deploy to AWS via CloudBees CodeShip Basic.
Using the CLI
If the deployment integrations do not work for you due to additional need for flexibility or need to use an undocumented AWS service, you can always install and use the AWS CLI directly onto a CloudBees CodeShip Basic build machine similar to how you might use the CLI locally.
You will need to install the CLI, configure your authentication via environment variables and then define the CLI commands you want to run as a custom-script deployment pipeline.
Installing The CLI
The AWS CLI does not come pre-installed on CloudBees CodeShip Basic build machines.
Please add the following command in the Setup Commands section of your test settings to install the AWS CLI:
pip install awscli
Configuring Authentication
Once the CLI is installed, you will need to run the appropriate AWS login commands in your project’s setup commands or at the start of your custom-script deployment pipeline.
The easiest way to keep the authentication secure is to use environment variables to store the username and password, and to pass those to your AWS login commands.
Deployment Scripting
You will need to create a new custom-script deployment pipeline to run the AWS CLI commands you need for your deployment.
These commands will be run every time the branch the deployment pipeline is associated with is updated. They are not CodeShip specific and will be standard AWS CLI input.
AWS CLI Information
Read more about the AWS CLI for more information on using the CLI as well as complete documentation on what commands can be run with it.