AWS Velocity Series: Set the assembly line up
What is the first thing you do when starting a new project? For me, I design and set my assembly line up first.
The assembly line describes the work that is necessary from idea to production.
- In a software project, you decide how to spend your resources. You can not work on everything at the same time.
- You write code and tests, adjust configuration, add images, …
- Every change is versioned in a repository.
- The source code is built and packaged. Tests are executed, and static source code checkers analyze the source code.
- The packaged software is deployed to AWS into a production-like environment.
- Acceptance tests run against the production-like environment to ensure that your system still behaves as expected.
- Now, you are ready to deploy to production.
- All steps need to be monitored to know if something goes wrong and to decide based on data.
As you can see, many steps are involved from idea to production. Many steps also mean that many things can go wrong. The goal of the assembly line is to ensure that work is only handed over from one step to the other if it has no defects. Therefore you aim for automation whenever possible. You also need to improve the assembly line whenever a defect gets through to make sure that this never happens again.
AWS Velocity Series
Most of our clients use AWS to reduce time-to-market following an agile approach. But AWS is only one part of the solution. In this article series, I show you how we help our clients to improve velocity: the time from idea to production. Discover all posts!
That’s your way to AWS Velocity.
Level up, strengthen your AWS skills.
Our book Amazon Web Services in Action is a comprehensive introduction to computing, storing, and networking in the AWS cloud. You'll find clear, relevant coverage of all the essential AWS services, emphasizing best practices for security, high availability, and scalability. Get the first chapter for free!
A typical assembly line in my projects looks like this:
- Kanban board to plan work and visualize work in progress (e.g. Trello)
- Developer environment
- Local build
- Local test
- The CI/CD pipeline
- Pipeline (AWS CodePipeline)
- Monitoring (AWS CloudWatch)
In the future articles of this series, you will learn how to glue all those AWS services together to implement your assembly line.
Most of the assembly line can be implemented with managed AWS services. Managed services help you to focus on the actual work while AWS cares about things like running your build server. Using managed services will speed you up as they offer standardized and highly integrated building blocks for your system. In the following articles, you will learn how you can implement AWS Velocity with EC2 based apps, Containerized apps, and Serverless apps.
- Set the assembly line up (you are here)
- Local development environment
- CI/CD Pipeline as Code
- Running your application
- EC2 based app
b. CI/CD Pipeline
- Containerized ECS based app
b. CI/CD Pipeline
- Serverless app
You can find the source code on GitHub.