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...Example pipeline with deployment to an ECS server
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...Creating a new project
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
Image loading...Adding a new pipeline
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...AWS actions
- 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...AWS ECS action configuration
- When ready, click Add this action to finish configuration.
Success
Congratulations – you have just automated your deployment to AWS ECS! 🥳
Last update:
Sep 24, 2024
Sep 24, 2024