aws-mfa
ecs-deploy
aws-mfa | ecs-deploy | |
---|---|---|
5 | 3 | |
1,009 | 827 | |
- | - | |
0.0 | 4.7 | |
9 months ago | 3 months ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aws-mfa
-
Script or software that automatically populate specific profile in ~/.aws/credentials
I will tell you that some tools like sceptre and terraform barf using a profile with mfa like this and I ended up using aws-mfa: https://github.com/broamski/aws-mfa and run this for example to create a "dynamic" runamok-power profile:
-
Authenticating to AWS provider
I use MFA so store a long term key that is used to generate a temporary key. I use this tool to do the mfa: https://github.com/broamski/aws-mfa
-
Lockdown AWS API calls to list of IPs
I too, struggled with aws-vault and eventually gave up and use https://github.com/broamski/aws-mfa. If you want to take it one step further you can use oathtool and store the totp key in the encrypted vault of your choice. That is still MFA but if you store the factors on the same system you will need to decide about that risk before going the oathtool route.
-
Amazon Web Service account hacked. Email changed and charged over 10k USD. PLEASE HELP
The built in CLI MFA solution sucks if you have a workflow that relies on named profiles. We use them heavily at work and implemented aws-mfa to make it so that all of our stuff could work without adopting ridiculous workflows.
- Can somebody ELI5 how to setup MFA in the CLI?
ecs-deploy
-
Decoupling terraform ecs task definition and deployments
We use ecs-deploy to deploy a new image version to the ECS service. It does it by creating a new ECS task definition with the updated image url and deploying that.
-
Best way of deployment automation
I suggest you start with EC2 mode for ECS (you manage your own instances). You can create an ECS cluster from the console easily, and then create an ECD task definition (similar as docker-compose service) and then an ECS service. After you get familiar with all this, you can use some CLI tool to "update" your running service with the new pushed image tag from ECR. For this you can use AWS CLI, but I recommend you use an existing tool that wraps everything you need under a single command, like https://github.com/fabfuel/ecs-deploy.
-
Managing ECS Fargate Task Definition Updates (Releases) with Terraform
I use TF for just the scaffolding but I manage the task definition changes with this. https://github.com/fabfuel/ecs-deploy
What are some alternatives?
pyotp - Python One-Time Password Library
cookiecutter-django-ecs-github - Complete Walkthrough: Blue/Green Deployment to AWS ECS using Cookiecutter-Django using GitHub actions
privacyIDEA - :closed_lock_with_key: multi factor authentication system (2FA, MFA, OTP Server)
flask-react-aws
aws-runas - aws-runas rewritten in Go
blindbox - BlindBox is a tool to isolate and deploy applications inside Trusted Execution Environments for privacy-by-design apps
one-time - One Time Password (TOTP and HOTP) library for Clojure. TOTP/HOTP is widely used for Two Factor / Multi Factor Authentication.
aws-compute-decision-tree - A decision tree to help you decide on the right AWS compute service for your needs.
aws-missing-tools - Random tools I've written to make life easier using AWS, namely aws-choose-profile and aws-mfa-login
aws-config-rdk - The AWS Config Rules Development Kit helps developers set up, author and test custom Config rules. It contains scripts to enable AWS Config, create a Config rule and test it with sample ConfigurationItems.
awsume - A utility for easily assuming AWS IAM roles from the command line.
oncall - Oncall is a calendar tool designed for scheduling and managing on-call shifts. It can be used as source of dynamic ownership info for paging systems like http://iris.claims.