Deploy to AWS ECS
The AWS ECS action lets you easily run and manage Docker containers by registering a task definition on the selected cluster of EC2 instances with on a single push to branch.
Image loading...
Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Configure pipeline in Buddy
- Create a new project, select your Git provider and choose the repository with your project:
Image loading...
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
Image loading...
Configure AWS ECS deployment
Warning
Before you add the actions, make sure that your AWS user has proper permissions assigned and full programmatic access to AWS.
- Look up and select the AWS ECS action from the list:
Image loading...
- The action has three configuration tabs:
- Deploy – here you select the AWS integration, region, cluster, service and the task definition to register
- Variables – here you can view your AWS integration variables, and create your own if required
- Conditions – here you configure the trigger conditions for which the action will run
- Options – here you define the action's name and behavior on failure and timeout
Image loading...
- When ready, click Add this action to finish configuration.
Success
Congratulations – you have just automated your deployment to AWS ECS! 🥳
Last modified on Sep 24, 2024