Git Product home page Git Product logo

organizing-aws-organizations's Introduction

Organizing AWS Organization

I used an IaC tool (org-formation) to create AWS Organization, Organization Units (OUs), and respective Accounts in those OUs.

Org-Formation is a neat tool that lets you handle account Organization via code and not in the Management Console using a native service like Control Tower. Some of the benefits of using this like any other IaC tool is ease of scalability-- I can quickly add multiple OUs and/or accounts from the cli, Security, improved efficiency, among others.

Check out the Official Org-formation documentation.

Steps I took to Implement Org-Formation in my AWS Account

  1. I installed the org-formation tool using npm i aws-organization-formation -g. Of course, this is assuming npm is already installed on your device. If not, you'll have to install it.
  2. I initialized org-formation using the command org-formation init organization.yml --region us-east-1

If you get an error initializing org-formation, it is likely related to your credentials. i.e. your credentials in the ~/.aws/credentials file   have expired. To fix this, create a new admin user in the AWS Console and add that user to the Administrator group then reconfigure on your cli, aws configure with the new user’s Access Key ID & Secret Access Key.

  1. After making changes to your organization.yml file, use org-formation update organization.yml to update your Organization. After an update, you should get an updated message in your terminal similar to this:

image

Upon completion, in the AWS Console, the AWS Organization Structure is created as shown:

image

Setting Up SSO

Wojciech Matuszewski has a very good article detailing how to set up SSO. If you do choose to use org-formation like I did, then Steps 1 - 8 is already out the way.

Upon completion of my SSO setup, this is what the start url page looked like:

image

Clicking on the Management Console takes you to a page like this:

image

organizing-aws-organizations's People

Contributors

erdookuhwa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.