Random 3 Flashcards
CloudWatch agent
- To collect logs from your Amazon EC2 instances and on-premises servers into CloudWatch Logs, AWS offers both a new unified CloudWatch agent
- CloudWatch agent which has the following advantages:
- You can collect both logs and advanced metrics with the installation and configuration of just one agent.
- The unified agent enables the collection of logs from servers running Windows Server.
- If you are using the agent to collect CloudWatch metrics, the unified agent also enables the collection of additional system metrics, for in-guest visibility.
- The unified agent provides better performance.
- enables you to collect both system metrics and log files from Amazon EC2 instances and on-premises servers. The agent supports both Windows Server and Linux and allows you to select the metrics to be collected, including sub-resource metrics such as per-CPU core.
- CloudWatch agent in your EC2 instances to collect and monitor the custom metric (memory usage)
CloudWatch Logs Insights
CloudWatch Logs Insights enables you to interactively search and analyze your log data in Amazon CloudWatch Logs. You can perform queries to help you quickly and effectively respond to operational issues. If an issue occurs, you can use CloudWatch Logs Insights to identify potential causes and validate deployed fixes.
CloudWatch Logs Insights includes a purpose-built query language with a few simple but powerful commands. CloudWatch Logs Insights provides sample queries, command descriptions, query autocompletion, and log field discovery to help you get started quickly. Sample queries are included for several types of AWS service logs.
AWS Inspector Agent
AWS Inspector is simply a security assessments service which only helps you in checking for unintended network accessibility of your EC2 instances and for vulnerabilities on those EC2 instances.
EBS provisioning
- Size Range: io1 volumes can range in size from 4 GiB to 16 TiB.
- IOPS Provisioning: io1 allows you to specify the IOPS that you want. You can provision up to 64,000 IOPS per volume when attached to a Nitro-based EC2 instance and up to 32,000 IOPS per volume when attached to other instances.
Low Latency: It provides consistent low-latency performance, making it ideal for critical applications.
IOPS to Volume Size Ratio: For every 1 GiB of storage you provision, you can request up to 50 IOPS. This means for a 100 GiB volume, you can provision up to 5,000 IOPS.
io2 supports up to 500 IOPS per GiB, Size Range: io2 volumes can be prov
Elastic Fabric Adapter
An Elastic Fabric Adapter (EFA) is a network device that you can attach to your Amazon EC2 instance to accelerate High Performance Computing (HPC) and machine learning applications. EFA enables you to achieve the application performance of an on-premises HPC cluster with the scalability, flexibility, and elasticity provided by the AWS Cloud.
EFA provides lower and more consistent latency and higher throughput than the TCP transport traditionally used in cloud-based HPC systems. It enhances the performance of inter-instance communication which is critical for scaling HPC and machine learning applications. It is optimized to work on the existing AWS network infrastructure, and it can scale depending on application requirements.
EFA integrates with Libfabric 1.9.0, and it supports Open MPI 4.0.2 and Intel MPI 2019 Update 6 for HPC applications and Nvidia Collective Communications Library (NCCL) for machine learning applications.
Best for HPC applications (e.g., scientific simulations, computational fluid dynamics, finite element analysis), distributed ML training, and other applications requiring fast inter-node communication.
An Elastic Fabric Adapter (EFA) is simply an Elastic Network Adapter (ENA) with added capabilities. It provides all of the functionality of an ENA, with additional OS-bypass functionality. OS-bypass is an access model that allows HPC and machine learning applications to communicate directly with the network interface hardware to provide low-latency, reliable transport functionality.
The OS-bypass capabilities of EFAs are not supported on Windows instances. If you attach an EFA to a Windows instance, the instance functions as an Elastic Network Adapter without the added EFA capabilities.
Elastic Network Adapters
Elastic Network Adapters (ENAs) provide traditional IP networking features that are required to support VPC networking. EFAs provide all of the same traditional IP networking features as ENAs
* Relies on standard TCP/IP networking, with enhancements like multi-queue for higher throughput.
* est for general high-throughput applications, such as big data, analytics, media streaming, database clusters, and web servers.
fault-tolerance
Basically, fault-tolerance is the ability of a system to remain in operation even in the event that some of its components fail without any service degradation. In AWS, it can also refer to the minimum number of running EC2 instances or resources which should be running at all times in order for the system to properly operate and serve its consumers
High Availability
High Availability, which is just concerned with having at least one running instance or resource in case of failure.
S3 Cross-Region Replication
In this scenario, you need to enable Cross-Region Replication to ensure that your S3 bucket would not be affected even if there is an outage in one of the Availability Zones or a regional service failure in us-east-1. When you upload your data in S3, your objects are redundantly stored on multiple devices across multiple facilities within the region only, where you created the bucket. Thus, if there is an outage on the entire region, your S3 bucket will be unavailable if you do not enable Cross-Region Replication, which should make your data available to another region.
AWS Storage Gateway
It acts as a bridge between your on-premises infrastructure and AWS cloud storage services like Amazon S3, Glacier, and EBS, enabling seamless data transfer and management.
AWS Storage Gateway offers three different types of gateways to meet different use cases:
* File Gateway: For file-based data transfer to S3.only file gateway can store and retrieve objects in Amazon S3 using the protocols NFS and SMB.
* Tape Gateway: For backup and archival solutions, using AWS cloud as a virtual tape library.
* Volume Gateway: Provides block storage volumes, either cached in the cloud or replicated on-premises and backed by AWS.
Well-Architected Tool
You can also use the Well-Architected Tool to automatically monitor the status of your workloads across your AWS account, conduct architectural reviews and check for AWS best practices.
DynamoDb global table
DynamoDB Global Tables is a fully managed, multi-region, multi-active database that allows you to replicate your Amazon DynamoDB tables across multiple AWS regions. It is designed to provide high availability and low-latency access to globally distributed applications, enabling real-time data access from different regions around the world.
* Multi-Region Replication
* Automatic Replication: DynamoDB Global Tables automatically replicate your data across multiple AWS regions, ensuring that updates made in one region are reflected across all other regions.
Eventually Consistent Replication: Updates made in one region will eventually propagate to all other regions, usually within seconds, ensuring consistency across all regions.
last writer wins (LWW)
Amazon Managed Grafana
Amazon Managed Grafana is a fully managed service with rich, interactive data visualizations to help customers analyze, monitor, and alarm on metrics, logs, and traces across multiple data sources.
RDS MULTI ZONE
You can run an Amazon RDS DB instance in several AZs with Multi-AZ deployment. Amazon automatically provisions and maintains a secondary standby DB instance in a different AZ. Your primary DB instance is synchronously replicated across AZs to the secondary instance to provide data redundancy, failover support, eliminate I/O freezes, and minimize latency spikes during systems backup.
Read replica is not doing automatic failover.
AWS Transit Gateway
With AWS Transit Gateway, you only have to create and manage a single connection from the central gateway to each Amazon VPC, on-premises data center, or remote office across your network. Transit Gateway acts as a hub that controls how traffic is routed among all the connected networks which act like spokes. This hub and spoke model significantly simplifies management and reduces operational costs because each network only has to connect to the Transit Gateway and not to every other network. Any new VPC is simply connected to the Transit Gateway and is then automatically available to every other network that is connected to the Transit Gateway. This ease of connectivity makes it easy to scale your network as you grow.
A transit gateway attachment is both a source and a destination of packets. You can attach the following resources to your transit gateway:
- One or more VPCs
- One or more VPN connections
- One or more AWS Direct Connect gateways
- One or more transit gateway peering connections
If you attach a transit gateway peering connection, the transit gateway must be in a different Region.
Hence, the correct answer is: Set up an AWS Transit Gateway in each region to interconnect all networks within it. Then, route traffic between the transit gateways through a peering connection.
AWS License Manager
AWS License Manager is a service that makes it easier for you to manage your software licenses from software vendors (for example, Microsoft, SAP, Oracle, and IBM) centrally across AWS and your on-premises environments. This provides control and visibility into the usage of your licenses, enabling you to limit licensing overages and reduce the risk of non-compliance and misreporting.
As you build out your cloud infrastructure on AWS, you can save costs by using Bring Your Own License model (BYOL) opportunities. That is, you can re-purpose your existing license inventory for use with your cloud resources.
If you are responsible for managing licenses in your organization, you can use.
License Manager to set up licensing rules, attach them to your launches, and keep track of usage. The users in your organization can then add and remove license-consuming resources without additional work.
License Manager reduces the risk of licensing overages and penalties with inventory tracking that is tied directly into AWS services. License Manager’s built-in dashboards provide ongoing visibility into license usage and assistance with vendor audits.
How to update s3 bucket policy to use cloud front for dedcated users only?
You can update the Amazon S3 bucket policy using either the AWS Management Console or the Amazon S3 API:
- Grant the CloudFront origin access identity the applicable permissions on the bucket.
- Deny access to anyone that you don’t want to have access using Amazon S3 URLs.
AWS Application Migration Service
AWS Application Migration Service (AWS MGN) is the primary migration service recommended for lift-and-shift migrations to AWS. AWS encourages customers who are currently using AWS Elastic Disaster Recovery to switch to AWS MGN for future migrations. AWS MGN enables organizations to move applications to AWS without having to make any changes to the applications, their architecture, or the migrated servers.
Implementation begins by installing the AWS Replication Agent on your source servers. When you launch Test or Cutover instances, AWS Application Migration Service automatically converts your source servers to boot and runs natively on AWS.
AWS Replication Agent
The AWS Replication Agent is a key component of AWS services designed to facilitate seamless data migration and disaster recovery from on-premises environments to the AWS cloud. It is used as part of two main AWS services: AWS Application Migration Service (MGN) and AWS Elastic Disaster Recovery (AWS DRS). The replication agent is installed on source servers (whether physical or virtual machines), where it continuously replicates the data to AWS without disrupting ongoing operations.
AWS Application Discovery Service
The AWS Application Discovery Service is primarily used to track the migration status of your on-premises applications from the Migration Hub console in your home Region. This service is not capable of doing the actual migration.
AWS Step Functions
AWS Step Functions provides useful guarantees around task assignments. It ensures that a task is never duplicated and is assigned only once. Thus, even though you may have multiple workers for a particular activity type (or a number of instances of a decider), AWS Step Functions will give a specific task to only one worker (or one decider instance). Additionally, AWS Step Functions keeps at most one decision task outstanding at a time for workflow execution. Thus, you can run multiple decider instances without worrying about two instances operating on the same execution simultaneously. These facilities enable you to coordinate your workflow without worrying about duplicate, lost, or conflicting tasks.
RDS, the Enhanced Monitoring metrics
RDS child processes – Shows a summary of the RDS processes that support the DB instance, for example aurora for Amazon Aurora DB clusters and mysqld for MySQL DB instances. Process threads appear nested beneath the parent process. Process threads show CPU utilization only as other metrics are the same for all threads for the process. The console displays a maximum of 100 processes and threads. The results are a combination of the top CPU-consuming and memory-consuming processes and threads. If there are more than 50 processes and more than 50 threads, the console displays the top 50 consumers in each category. This display helps you identify which processes are having the greatest impact on performance.
**RDS processes **– Shows a summary of the resources used by the RDS management agent, diagnostics monitoring processes, and other AWS processes that are required to support RDS DB instances.
**OS processes **– Shows a summary of the kernel and system processes, which generally have minimal impact on performance.
s3 public access
- You can also manage the public permissions of your objects during upload. Under Manage public permissions, you can grant read access to your objects to the general public (everyone in the world) for all of the files that you’re uploading. Granting public read access is applicable to a small subset of use cases, such as when buckets are used for websites.
- Amazon S3 offers access policy options broadly categorized as resource-based policies and user policies. Access policies you attach to your resources (buckets and objects) are referred to as resource-based policies.
- For example, bucket policies and access control lists (ACLs) are resource-based policies. You can also attach access policies to users in your account. These are called user policies. You may choose to use resource-based policies, user policies, or some combination of these to manage permissions to your Amazon S3 resources.