Imperative approach
Intuitive, step-by-step way.
Example:
CLI along with a bash script like:
cli create vm
cli configure vm
...
cli create vpc
cli configure vpc
...
cli create db
cli configure db
...Disadvantages:
- When you need to scale it up or down you need to write custom scripts.
- Doesn't scale well.
- If you run multiple times, it will create each time.
- You have to add error handling when one of the steps fails halfway.