# Day 5: AWS Console

## AWS Console

The **AWS Management Console** provides access to various AWS services. Each AWS service has its own customized console that you can access by searching for the service name.

### Umbrella Consoles

Some AWS service consoles act as umbrella consoles containing multiple AWS services. Examples include:

* **VPC Console:** Manages Virtual Private Cloud resources.
    
* **EC2 Console:** Handles EC2 instances and related resources.
    
* **Systems Manager Console:** Provides centralized management for AWS resources.
    
* **SageMaker Console:** Used for machine learning and model management.
    
* **CloudWatch Console:** Monitors and manages cloud resources and applications.
    

## AWS Account ID

Every AWS account has a unique **Account ID**. You can find this ID by dropping down the current user in the global navigation menu within the AWS Management Console.

### Uses of Account ID

* **Login:** Used when logging in with a non-root user account.
    
* **Cross-Account Roles:** Required for cross-account role setups and support cases.
    

It is generally advisable to keep your **Account ID** private as it can be used by malicious actors to target your account.

## PowerShell

**PowerShell** is a task automation and configuration management framework. It includes:

* **Command-Line Shell:** A command-line interface for executing commands.
    
* **Scripting Language:** Allows for scripting and automation tasks.
    

Unlike traditional shells that process and return text, PowerShell is built on top of the **.NET Common Language Runtime (CLR)** and processes **.NET objects**.

### AWS Tools for PowerShell

**AWS Tools for PowerShell** allow you to interact with the AWS API using PowerShell cmdlets. Cmdlets are specialized commands in PowerShell named with a capitalized verb-and-noun format, e.g., `New-S3Bucket`.

## Amazon Resource Names (ARNs)

**Amazon Resource Names (ARNs)** are unique identifiers for AWS resources, ensuring unambiguous specification across all AWS services.

### ARN Structure

* **Partition:** AWS partition (e.g., `aws`, `aws-cn`, `aws-us-gov`)
    
* **Service:** The AWS service (e.g., `ec2`, `s3`, `iam`)
    
* **Region:** The AWS region (e.g., `us-east-1`, `ca-central-1`)
    
* **Account ID:** The unique AWS account number (e.g., `123456789012`)
    
* **Resource ID:** Unique identifier for the resource (e.g., `user/Bob`, `instance/i-1234567890abcdef0`)
    

### ARN Example

* **IAM Policy ARN Path:** `arn:aws:iam::123456789012:user/Development/product_1234/`
    
* **S3 ARN Path:** `arn:aws:s3:::my_corporate_bucket/Development/*`
    

In the AWS Management Console, you can commonly copy the ARN to your clipboard for convenience.

## Command Line Interface (CLI)

A **Command Line Interface (CLI)** allows users to interact with a computer program through text-based commands. It processes commands entered as lines of text within a shell. Operating systems provide CLI through various shells to execute commands and manage systems.
