Lucky enough to have landed in a role where we will be leveraging AWS, for a chunk of the workflow that is needing to be done. Fortunately or unfortunately depending on how you look at it, nothing has been set up as of yet in the environment.
I have got my own personal check list. But would love to hear what you would do differently if you were to start again in AWS.
Also yes I know every use case is different in AWS, as there is a million and one products, but I’m hoping to see some crossover and discussion.
Can’t overstate how greatly IAC ( CDK) will simplify and optimize your cloud life. Pain in the ass to learn, and CloudFormation is quirky AF, but wow does the value offset the cost.
Resource segregation by account. Not just dev, QA and prod, but by workload too, projects get their own dev, QA and prod accounts. If you’re managing DNS with R53 (recommended), DNS gets its own account.
Yea logging and monitoring will get all plumbed in fairly quickly.
Regarding the clickops, our network guys will need access to the ACL’s on the security groups. Guessing you would recommend giving them access to terraform if we where to go down that route ?
Look if you will need to connect to non-AWS resources for your IaC. Terraform and Pulumi are great options for AWS, and they can also manage non-AWS resources if needed, compared to CDK and SAM.
I would stay away from cloudformation if possible. This is hotly debated in this sub, but in my opinion, Terraform is just better.
Puppet is more related to server configuration, which is really outside of the scope of Terraform or CF. More like Ansible/Chef/SaltStack.
Ansible worked well for us, but we pushed more and more of the admin into building machine/container images and updating them via terraform. The less ad hoc management you do to a fleet, the better.
A huge drawback to CF and Ansible is that they rely on YAML, which is a total abuse of a glorified serialization format. Most of the documentation for YAML stuff never shows you the entire structure of the objects/syntax, so you’re left with doing multiple rounds of validation/testing to get it to work. With HCL (and CDK), you at least have a language that has a well defined structure. The Terraform paradigm is fundamentally more sound than cloudformation.
Completely greenfield I would build a fully event driven architecture using serverless technologies (lambda, step functions, etc)
Create a landing zone with terraform and any baseline/core services then deploy applications on top using the Serverless Framework.
I’d obviously agree with environment segregation by account, but workload/project as separate accounts can get cumbersome and costly depending on the workload.
We have some projects in their own accounts due to various reasons, but we have a few apps that are similar enough we can effectively utilize shared accounts and resources by env. I’m in FinOps so Im not developing in them, but our account number would increase about 15x as what we have now and our general infra costs like CW, Logging, GuardDuty, VPC, etc would skyrocket.
Waaaait…. Network guys shouldn’t be doing security groups.
How big is your org going to be? You should design your account deployment layout first. Network people should be in the network account. They shouldn’t be going round poking at other teams security groups, if you need sec group control use AwS firewall manager security group policies.
Also AwS config rules to determine if teams aren’t playing ball.
If your ram everything into one account and let everyone try to access it, you’re gonna have a bad time.
Look into control tower and watch some vids if this is all new to you (if not, sorry bout that)
More than likely going to just be a dev team that will have their own account. The rest of the infrastructure is going to be used as a shared resource.
Regarding the network team, they have a mandate to ensure they have oversight for compliance and ensuring the infrastructure is following a zero trust model. Not my hill to die on I’m afraid…
I had looked at the Firewall manager awhile back, but this might suite the needs perfectly, ticks the box and if they to apply something at a global level they can..
We have some projects in their own accounts due to various reasons, but we have a few apps that are similar enough we can effectively utilize shared accounts and resources by env. I’m in FinOps so Im not developing in them, but our account number would increase about 15x as what we have now and our general infra costs like CW, Logging, GuardDuty, VPC, etc would skyrocket.
Yea from my point of view, I think we will have a separate account for the devops team. And put some restrictions around costs etc but otherwise the rest of the teams etc will be leveraging the single account.
As ultimately the infrastructure going in there will be used as a shared resource for departments around the company. We will also have a dev environment for myself/team as we are the ones building the infrastructure, and to pipe anything in from the devops side as well.