How to create an Organization in AWS cloud and manage its cost
Tags: aws, cloud
Published: 2021-04-05 14:41:57

<!-- wp:paragraph -->
<p>This blog focuses on creating Organizations in AWS Cloud and  Managing cost within your organization. I will be covering the fundamentals of AWS Organizations,  AWS Billing Dashboard, AWS Cost Explorer and AWS budgets.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"textAlign":"center"} -->
<h2 class="has-text-align-center"><em><strong>AWS Organizations:</strong></em></h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>As you begin to expand with multiple accounts, it will become increasingly more difficult to manage them as separate entities. The more accounts you have, the more distributed your environment becomes and the associated security risks and exposures increase and multiply.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>AWS Organizations provide a means of centrally managing and categorizing multiple AWS accounts that you own, bringing them together into a single organization, which helps to maintain your AWS environment from a security, compliance, and account management perspective. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong><em>AWS Organizations uses the following components to help you manage your accounts: </em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>An Organization is an element that serves to form a hierarchical structure of multiple AWS accounts=</li><li>The Root object is simply a container that resides at the top of your Organization. All of your AWS accounts and Organizational units will then sit underneath this Root. <strong>Within any Organization, there will only be one single Root object. </strong></li><li>Organizational Units (OUs) provide a means of categorizing your AWS Accounts.  This allows you to create a hierarchical structure. </li><li>Accounts, they are your AWS accounts that you use and create to be able to configure and provision AWS resources. </li><li>Service control policies(SCPs) allow you to control what services and features are accessible from within an AWS account. </li></ol>
<!-- /wp:list -->

<!-- wp:image {"align":"center","width":598,"height":340,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img src="https://docs.aws.amazon.com/organizations/latest/userguide/images/BasicOrganization.png" alt="" width="598" height="340"/><figcaption>Credits: https://docs.aws.amazon.com/organizations/latest/userguide/images/BasicOrganization.png</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p><strong><em>Q.What benefits can this bring to your AWS environment?</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The ability to centrally manage multiple Accounts from a single AWS account, known as the master account. You can start by inviting your existing accounts to an Organization and then create new accounts directly from the Master Account. Along with the following benefits,</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>Greater control of your AWS environment. </li><li>Consolidated Billing. </li><li>Categorization and grouping of accounts. </li></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p><strong><em>Q.How to set it up?</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Setting up an organization is a very simple process that starts from a master AWS account. It's best practice to use this AWS account solely as a master account, and not to use it to provide any other resources such as EC2 instances. This allows you to restrict access to the master account at a greater level. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Once you have selected your AWS account to be used as a master account, you can create an organization. From here, you have two choices when creating an organization type: </p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>Enable all features or enable only consolidated billing. If you want to set up service control policies, then you need to select enable all features.</li><li>The second option allows you to control payments and manage costs centrally from that master account across all associated AWS accounts within the organization. </li></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Q.<strong><em>How are SCPs different from both identity-based and resource-based policies?</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The SCP would serve to prevent that service from being used within the AWS account and so have the overriding precedence and determine the maximum level of permissions allowed.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Characteristics of Service Control Policies.</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li> SCPs do not affect resource-based policies. </li><li>SCPs affect all users and roles, in addition to the root user. </li></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>The following elements are not affected by SCPs: </p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>Any actions performed by the master account, SCPs do not affect service-linked roles, and managing Amazon CloudFront keys.</li></ol>
<!-- /wp:list -->

<!-- wp:image {"align":"center","sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://image.slidesharecdn.com/aws-organizations-ny-6b5a7e05-e240-4a98-aee9-8b7b564fdd3e-338184367-180612165328/95/introduction-to-aws-organizations-4-638.jpg?cb=1528822425" alt=""/><figcaption>Credits: https://image.slidesharecdn.com/aws-organizations-ny-6b5a7e05-e240-4a98-aee9-8b7b564fdd3e-338184367-180612165328/95/introduction-to-aws-organizations-4-638.jpg?cb=1528822425</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p><strong><em>For more information about Organizations in AWS Cloud,</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li><a rel="noreferrer noopener" href="https://aws.amazon.com/organizations/" target="_blank">https://aws.amazon.com/organizations/</a></li><li><a rel="noreferrer noopener" href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html" target="_blank">https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html</a></li><li><a rel="noreferrer noopener" href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html" target="_blank">https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html</a></li></ol>
<!-- /wp:list -->

<!-- wp:heading {"textAlign":"center"} -->
<h2 class="has-text-align-center">Cost and Management:</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>AWS offers multiple cost management services that can help you migrate to AWS, check recent costs, analyze your long-term spending trends, monitor or limit your spending, or simplify your billing process. There are also several customer support plans to assist you, depending on your level of need. The different plans offer </p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>Access to online resources, </li><li>Minor technical assistance, </li><li>Assistance maintaining your business's production environments, </li><li>Troubleshooting business-critical production environments.</li></ol>
<!-- /wp:list -->

<!-- wp:image {"align":"center","sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large"><img src="https://image.slidesharecdn.com/communitydayadvancedcostoptimizationv1-181010175350/95/advanced-cost-management-strategies-in-aws-63-638.jpg?cb=1539194098" alt=""/><figcaption>Credits: https://image.slidesharecdn.com/communitydayadvancedcostoptimizationv1-181010175350/95/advanced-cost-management-strategies-in-aws-63-638.jpg?cb=1539194098</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p><strong><em>1.Total Cost of Ownership (TCO) Calculator:</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p> The TCO Calculator is a free service to help compare on-premise and AWS costs. With the TCO Calculator, you can quickly compare the costs of on-premise hardware to running your production environments on the AWS Cloud. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The TCO Calculator creates a report after you complete a very short questionnaire.  Once you have provided this information, the TCO Calculator creates a report with the following: an overall estimate of savings by using AWS, a comparison of your potential on-premise and AWS systems, and detailed cost comparison between the two systems.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><strong><em>2.Billing Dashboard</em></strong>:</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The Billing Dashboard provides graphs that show the overall cost and usage for the previous month, as well as the current month to date. There are separate graphs, </p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>Spend Summary Graph. It shows the costs for the previous month, the current month to date, and estimates your total spent for the current month-end. </li><li>The other graphs are month-to-date service by spend and month-to-date spend by service. </li></ol>
<!-- /wp:list -->

<!-- wp:image {"align":"center","width":479,"height":250,"sizeSlug":"large"} -->
<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fblog.newrelic.com%2Fwp-content%2Fuploads%2FAWS-Overview-Dashboard-1.png&amp;f=1&amp;nofb=1" alt="" width="479" height="250"/><figcaption>Credits: https://blog.newrelic.com/wp-content/uploads/AWS-Overview-Dashboard-1.png</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p><strong><em> 3.AWS Cost Explorer:</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Cost Explorer also provides spending and usage data but for a longer period of time and with a wider selection of graphs to review the data. Cost Explorer provides several different services,</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>It graphs historic data for up to 12 months. </li><li>It provides forecasts for up to three months in the future. </li><li>It provides Reserved Instance Recommendations. </li></ol>
<!-- /wp:list -->

<!-- wp:image {"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://d1.awsstatic.com/awsinsights/hourly-mock-1280.8ab930be87181040e14cb182f494ec07cdfda90c.png" alt=""/><figcaption>Credits: https://d1.awsstatic.com/awsinsights/hourly-mock-1280.8ab930be87181040e14cb182f494ec07cdfda90c.png</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p><strong><em>4.AWS Budgets:</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>AWS Budgets allow you to set service limits and alert you if you exceed them. There are three types of budgets available. </p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li>Cost budgets, which set a cost limit for a service. </li><li>Usage budgets, which limit service usage. </li><li>Reserved Instance Utilization Budgets, these budgets ensure your reserved instances are operating at their desired levels. </li></ol>
<!-- /wp:list -->

<!-- wp:image {"sizeSlug":"large"} -->
<figure class="wp-block-image size-large"><img src="https://d1.awsstatic.com/AWSCostManagement/Budgets/aws-budgets-dashboard.78c5043d079d87a7d3cd7cb9939b81c6c17fbcd4.png" alt=""/><figcaption>Credits: https://d1.awsstatic.com/AWSCostManagement/Budgets/aws-budgets-dashboard.78c5043d079d87a7d3cd7cb9939b81c6c17fbcd4.png </figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p><strong><em>For more information about Cost and Management in AWS Cloud,</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><li><a rel="noreferrer noopener" href="https://aws.amazon.com/aws-cost-management/" target="_blank">https://aws.amazon.com/aws-cost-management/</a></li><li><a rel="noreferrer noopener" href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html" target="_blank">https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html</a></li><li><a rel="noreferrer noopener" href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/getting-viewing-bill.html" target="_blank">https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/getting-viewing-bill.html</a></li></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p><strong><em>Let me know where i could improve?</em></strong></p>
<!-- /wp:paragraph -->

<!-- wp:jetpack/contact-form {"subject":"New feedback received from your website","to":"kakabisht07@gmail.com"} -->
<!-- wp:jetpack/field-name {"required":true} /-->

<!-- wp:jetpack/field-textarea {"label":"How could I improve?"} /-->

<!-- wp:jetpack/button {"element":"button","text":"Send Feedback"} /-->
<!-- /wp:jetpack/contact-form -->