
Backend CI/CD container orchestation
Using ECS that is ❝similar to kubernetes❞ automatically deployed via Jenkins I deployed a container
Technologies Used
This article is also available in Spanish
🇪🇸 Español
🚀 Container Deployment on AWS with Jenkins and Bitbucket
Directus is a headless platform that allows you to manage and expose data very easily through APIs, regardless of the type of database you have. Basically, it turns your data source into a backend ready to connect to any frontend or application.
☁️ Deployment on Amazon ECS
Deploying it on Amazon ECS means you can run Directus inside containers, facilitating scalability, automation, and maintenance of your application with high availability. Additionally, being on AWS, you can take advantage of services like Amazon RDS for the database and achieve a secure and robust cloud environment.
🔧 Project Workflow
In this project, Bitbucket triggers a Jenkinsfile that packages the artifacts and uploads them to S3. Then, AWS CodeBuild takes those files and keys from another S3 bucket to build the Docker image of Directus, which is published to Amazon ECR ⚙️.
Once ready, CodeBuild retrieves the image from ECR again and deploys it to an ECS cluster, where the application is up and running, ready to use.
🔒 Security and Automation
Furthermore, the database is hosted on Amazon RDS within a VPC, ensuring that everything is secure. Thanks to this architecture, the pipeline remains automated and scalable, reducing manual work and allowing for quick releases with every code push.
Check out the AWS infrastructure diagram 👇
Related Posts
Explore more articles on similar topics and technologies.

Scalable ETL pipelines
Significantly reduced infrastructure expenses in AWS

Big Data ETL migrations
Executed multiple ETL migration projects from Oracle to AWS Glue, with strong emphasis on detailed requirement collection and comprehensive planning

Black Belt Architecture
demonstration of knowledge