What are the self-service tools/CLI automation you have build around AWS

Hello Experts,

I would like to listen What are the self-service tools/CLI/platforms , solutions or process/ automation you have build around AWS which helped in your Organization to solve big head-ache.


Related discussions:

Refresh of a test oracle RDS with the latest production snapshot with a cli script

I know there are tools that do this already, but I built a tool for automating commit messages that uses Bedrock.

DM you to know little bit more about it.

Most expensive and least expensive resources using the Cost and Usage (CUR) data. Finding ELB/ALBs without attachments, DynamoDB table with piops that no one is using, and that massive RDS Cluster Snapshot that is 70TB for a upgrade 3 months ago is all pure savings that is normally lost in the weeds. Features include filtering based on tags, using the tagging api, converting all non-arns to arns, and a full UI (fzf) for directly seeing and tagging resources.

NeuronSphere.io - the entire platform exists as our desire to make scaling full stack data platforms on aws ultra fast.

Two things:

Dir Sizer started as a tool to visualize S3 buckets size/cost to get a handle on a large S3 spend and just generally help answer the question “what are these buckets? where should we even start worrying?”

AWS IP Ranges was just my personal desire to track how big AWS is, to some degree, and how often it changes.

Its funny I wanted to do this exact thing: TreeMaps of S3 bucket usage by “directory”. Couldn’t find anything so ended up implementing it myself, and boom heres another project that does the same thing just sitting there.

We landed our first customer in 2018 for a startup I worked for since 2014. I needed to build a complete AWS infrastructure, but AWS lacked a good guide and required so much infrastructure as code. I had to do it again on my 2nd startup and for multiple customers.

So, I packaged it all into a single platform using AWS CDK. It provides a Landing Zone and building blocks that are easy to use and come with security, scalability, alerting out of the box.

We made pipelines to allow the devs to perform common s3 copy and rds sql commands against prod resources. That way they do all the work and it just comes to us to approve. Has saved everyone a tonne of time, allows us to avoid granting temp prod access all the time and has picked up many errors before they happen.

I deploy a set of Pulumi CustomResources on every environment for:
reader/writer roles and policies
Budget and Billing alerts
Simple Public and Private VPC (covers 90% of usecases)
Appregistry Application
ResourceManager tagging setup

  1. Wrap all the AWS CLI commands with abbreviated wrapper functions. The CLI API is fantastic for discovery but incredibly verbose to type. So we have dozens of wrappers so we can do things like just run rds-instances prod to get a nice print out table of each DB and important info about it. We distirbute these packages via. a custom brew tap.

  2. ecs-deploy is a great utility to simplify common ECS operations. We wrap this into our Jenkins pipeline so teams merge their code, it gets built (Java) wrapped into a Docker image, deployed to ECR, and the ECS task def and service are updated in Dev and ready for promotion after testing.

  3. We use Terraform for IAC. We have modules that simplify most major AWS deployments. i.e., a module that creates the RDS instance, security group, parameter group, etc. The modules enforce requirements (i.e., no public access) and provide reasonable defaults (i.e., small DB in dev, bigger DB in prod). So for a lot of teams, deploying a new micro service becomes as simple as picking from a few modules based on the service reqs and providing a few required input vars. They can get a new microservice deployed in all environments in an hour, and then tweak as needed.

I built dozens of them in the cost optimization space, covering lots of ways to optimize costs of the main AWS services.

Visualizer of our deployed resources mapped to the regions/AZs are shown on an interactive globe.

Service catalog is pretty ok

Can you be more specific what you’re looking for? I have built stuff for org mgmt for about 90% of my job for the last 6 years.