Friday, June 25, 2021

AWS Identity and Access Management (IAM)

AWS Identity and Access Management (IAM)


IAM User:

Newly created IAM User has no permissions associated with it.


IAM Policy:

IAM Policy allows us to change the permission on resources like EC2, S3, etc.


IAM Group:

IAM Group is a collection of users. We can assign IAM policy to IAM Group.


IAM Roles:

IAM Roles is a temporary access to some resource. We do not assign roles. Users, application or services can assume IAM Roles. 

Once a roles is assumed all previous permissions granted through groups and policies are not valid for the total duration of IAM Role is assumed.


MFA is extra layer of security provided in IAM


Monday, June 21, 2021

AWS Network ACL and Security Groups

ACLs perform stateless packet filtering (Always check packets)

Account's Default ACL: Allow all In and out traffic

Customer ACL: Only allow what is defined rest is deny

-------------------------------------------------------------------------

Security Groups perform stateful packet filtering (Remember previous decision for the packet)

By Default 

Deny all In

Allow all out


-------------------------------------------------------------------------






Thursday, June 10, 2021

Crontab

 # Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed

Monday, June 7, 2021

AWS Cloud Practitioner Essentials Notes

-----------------
1. Compute in Cloud
-----------------

Compute on AWS
https://aws.amazon.com/products/compute/

Interactive map of the AWS Global Infrastructure
https://aws.amazon.com/about-aws/global-infrastructure/regions_az/

Tools to Build on AWS
https://aws.amazon.com/tools/

How Amazon VPC works
https://docs.aws.amazon.com/vpc/latest/userguide/how-it-works.html


-----------------
4. Storage and Database
-----------------

Cloud Storage on AWS
https://aws.amazon.com/products/storage/
AWS Database Migration Service
https://aws.amazon.com/dms/

AWS Management & Governance Blog
https://aws.amazon.com/blogs/mt/

Whitepaper: AWS Governance at Scale
https://docs.aws.amazon.com/whitepapers/latest/aws-governance-at-scale/aws-governance-at-scale.html


-----------------
7. Pricing and Support
-----------------

AWS Pricing
https://aws.amazon.com/pricing/

AWS Knowledge Center
https://aws.amazon.com/premiumsupport/knowledge-center/


-----------------
8. Migration and Innovation
-----------------

Migration & Transfer on AWS
https://aws.amazon.com/products/migration-and-transfer/

A Process for Mass Migrations to the Cloud
https://aws.amazon.com/blogs/enterprise-strategy/214-2/

AWS Cloud Enterprise Strategy Blog
https://aws.amazon.com/blogs/enterprise-strategy/

AWS Architecture Blog
https://aws.amazon.com/blogs/architecture/


-----------------
10. AWS Certified Cloud Practitioner Basics
-----------------
Overview of Amazon Web Services
https://d1.awsstatic.com/whitepapers/aws-overview.pdf