JAVA SCRIPT

AWS CLOUD PRACTIONER EXAM NOTES - 15

1.Amazon Elastic Block Store (Amazon EBS) 
2.Amazon Elastic File System (Amazon EFS)
3.Amazon Elastic compute (Ec2)



1.Amazon Elastic Block Store (Amazon EBS) - Block storage
Amazon Elastic Block Store (Amazon EBS) provides persistent block
storage volumes for use with Amazon EC2 instances in the AWS Cloud.

Each Amazon EBS volume is automatically replicated within its Availability Zone 
to protect from component failure, offering high availability and durability.
  
EBS volume data persists independently of the life of the instance.(permanent)

You can attach multiple EBS volumes to an instance.

EBS volumes must be in the same AZ as the instances they are attached to.

EBS Snapshots:
Snapshots capture a point-in-time state of an instance.
Snapshots are stored on S3.
  
Instance Store Volumes:
 
Instance store volumes are high performance local disks that are physically 
attached to the host computer on which an EC2 instance runs.

Instance stores are ephemeral which means the data is lost when powered off 

Charges for
1. Volume storage
2. snapshots
3. Data transfer

_________________________________________________________________________________________

2.Amazon Elastic File System (Amazon EFS)
EFS is a fully managed service that makes it easy to set up and 
scale file storage in the Amazon Cloud.

Good for big data and analytics, media processing workflows, 
content management, web serving, home directories etc.
  
Can concurrently connect 1 to 1000s of EC2 instances, from multiple AZs.

Data is stored across "multiple AZs" within a region. - Regional service

_________________________________________________________________________________________

3.Amazon EC2
  
Amazon Elastic Compute Cloud (Amazon EC2) is a web service with which 
you can run virtual server “instances” in the cloud.
 
User data(Bootstrapping) is data that is supplied by the user at
instance launch in  the form of a script. 

Bootstrapping) in AWS simply means to add commands or scripts to AWS EC2's
instance User Data section that can be executed when the instance starts. 


Pricing :

There are three fundamental drivers of cost with AWS:
compute, storage, and outbound data transfer. 

Ec2 Pricing : On Demand, Reserved, Saving, Spot, Dedicated host, Dedicated Instance.

[1]. on demand - unpredictable workloads that cannot be interrupted. No upfront cost.

[2]. Reserved   - Applications with steady state or predictable usage.
                No upfront, partial upfront, full upfront.
                1-3yrs commitment.
                

Reservations provide you with greater discounts, up to 75%, by paying for 
capacity ahead of time. Some of the services you can reserve include: 
EC2, DynamoDB, ElastiCache, RDS, and RedShift 


a>Standard RI - 75% off, cannot change attributes(family,platform,tenancy,instance type)
 
b>convertible RI - 54% off,provides the capability to change the attributes of the RI

c>Scheduled RIs - you can reserve capacity that is scheduled to recur daily, weekly, or                   monthly, with a specified start time and duration, for a one-year term


[3]. Savings plan:  No upfront, partial upfront, full upfront.
                  1-3yrs commitment.
                  measured in $/hour

  a>Compute savings plan: 
    provides more flexibility and 66% of demand rates. These plans  automatically apply     to your ec2 instance regardless of instance size, instance family, region , operating     system, or tenancy. Also applies to Fargate n lambda usage

  b>EC2 instance savings plan:
    Provides savings upto 72% in exchange for commitment to Specific instance 
    family in a "chosen region", regardless of size, tenancy, OS



4. Spot -  instance that uses spare EC2 capacity that is available for less than
           the On-Demand price. Suitable for Applications that have flexible 
           start and end times. 

5. Dedicated host - Physical servers dedicated just for your use.
                    can use your own software licenses that use metrics
                    like per-core, per-socket, or per-VM.

6. Dedicated instances: Virtualized instances on hardware just for you.
                         Does not provide the additional visibility and controls 
                         of dedicated hosts (e.g. how instances are placed on a server).


Amazon EC2 instance types:

1.  General purpose instances: 
    General purpose instances provide a balance of compute, memory and networking             resources, and can be used for a variety of diverse workloads.
    used in application server
    back end server for enterprise appln.
    small and medium database
    Gaming

2.  compute optimised instance:
    Compute Optimized instances are ideal for compute bound applications 
    that benefit from high performance processors

    High performance computing (HPC)
    batch processing, 
    ad serving, 
    video encoding,            
    scientific modelling, 
    distributed analytics,
    CPU-based machine learning inference.

3. memory optimised instance :
   Memory optimized instances are designed to deliver fast performance for 
   workloads that process large data sets in memory.

   Memory-intensive applications such as 
   open-source databases,  
   in-memory caches, 
   and real time big data analytics

4. Storage optimised :
   Storage optimized instances are designed for workloads that require high, 
   sequential read and write access to very large data sets on local storage. 
  
   ideal fit for workloads that require very fast access to medium size data sets on       local storage. can benefit from high compute performance and high network throughput.

    relational databases (MySQL, MariaDB, and PostgreSQL), 
    and NoSQL databases (KeyDB, ScyllaDB, and Cassandra)
    search engines and 
    data analytics   

5. Accelerated computing :

Accelerated computing instances use hardware accelerators, 
or co-processors, to perform functions.

graphics processing, 
data pattern matching, 
Machine learning, 
high performance computing, 
speech recognition, 
autonomous vehicles, and drug discovery. 




No comments:

Post a Comment