Skip to content

Latest commit

 

History

History
97 lines (84 loc) · 4.02 KB

File metadata and controls

97 lines (84 loc) · 4.02 KB

Week 0 — Billing and Architecture

Logical Architectual Diagram in Lucid Charts

https://lucid.app/lucidchart/f66a78bf-14fd-40d8-a1fc-e65645e223aa/view?page=0_0&invitationId=inv_c5c78108-6652-4ae0-8b97-3dae65bd2cae#


Create an Admin User

From Search Bar, search for IAM to make a new Admin user. IAM Insert desired Admin User name. User Name Choosing permission, for the best practice we'll make a new 'admin group', set permission and add new admin user into this group. Permission Make a new group with defined administrator permission. Make New Admin Group Choose created group to our admin user. Select Creted Group Add tag for better audit. Tag Finished. An Admin User has been created. Finished

Use CloudShell

To open AWS Cloudshell, you can click Terminal icon on the left side of notification icon, on the top bar. AWS Cloudshell Welcome to AWS Cloudshell! AWS CLoudshell Welcome Page If you facing "Unable to start the environment. To retry, refresh the browser or restart by selecting Actions, Restart AWS CloudShell." error. Please refer this documentation and change your region. Unable to start the environment

Generate AWS Credentials

Generate Console Access

To enable Console Access, you can click Enable Console Access in IAM > User > Security credentials tab. Enable Console Access Set your preference, choose Enable console access. Manage Console Access Download .csv. Password

Generate AWS CLI Access

To enable AWS CLI, AWS Tools for PowerShell, AWS SDKs, or direct AWS API calls, you can click Enable Console Access in IAM > User > Security credentials tab. Enable Access Choose Command Line Interface (CLI). Choosing Add tag by your preference. Tags Download .csv. Download

Install AWS CLI

We need to install AWS CLI first. Since I'm using Ubuntu (WSL based), we'll install based on Installing or updating the latest version of the AWS CLI.

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Download .zip Check AWS CLI installation using 'aws --version' command. AWS CLI Version Configure AWS CLI using 'aws configure' and check running configuration using 'aws configure list'. AWS Configure

Create a Billing Alarm

You can activate Billing Alerts in Billing Preferences, and enable it's alert by clicking Manage Billing Alerts Billing Preferences Create alarm. Billing Alarm Set metric and condition. Metric and Condition Metric and Condition Configure actions by adding new email and new SNS topic. Actions Add alert name. Name Preview. Preview When ypu got status 'Pending confirmation', you need to confirm SNS subcription that has been sent yo your email. Pending After confirmation. Enabled

Create a Budget

You can activate Budget in Billing Preferences, then 'try the new budgets feature' Billing Preferences Create a Budget Create a Budget Use Zero spend budget template and set budget name. You need to insert email for notification. Budget Type Bedget has been created. Budget Type


Challange