Article

AWS fundamentals: 10 pointers for a quick start

By  Angel Sayani  |    June 20, 2022


Learning the fundamentals of AWS is essential for anyone wishing to start using cloud technology. The following AWS hints and suggestions will hasten your start and aid in avoiding typical mistakes. You'll gain a better grasp of AWS principles for cloud security as well as options for managing your AWS account's costs.



1. Make MFA active for root user.

Our AWS account's root user has access to every section. anything from starting virtual servers to wiping databases In other words, the system administrator becomes a good target for various types of miscreants. MultiFactor-Authentication (MFA) for the root user should be enabled as soon as a new AWS account is created. Then, for more security, we can utilize a hardware token or a virtual device (a smartphone app). Once MFA is enabled, a user will always be required to have access to a code generated by a different device (or "factor") in order to log in as the root user. 
Activating MFA assists in securing our account and reducing the the risk of attacks.

 

2. Set up a billing alert

The biggest worry of every cloud engineer is getting an invoice for services that we weren't aware were being billed for. Maybe the inappropriate sort EC2 instance is active, or we unintentionally setup a database service that is expensive. As an illustration, if we start a virtual machine, we must pay for it every hour or we are charged for each GB of data kept in the object store. We risk incurring unneeded expenditures if we neglect to shut down inactive virtual machines or remove outdated data from S3. The only thing we can do is set price point alerts because there is no way to stop AWS from really charging us.

 

3. Explore Identity and Access Management.

All interactions with AWS are verified and regulated by the Identity and Access Management (IAM) service. IAM is a crucial component of cloud security. It enables us to precisely accurately manage access to any AWS service. Some instances:

Can Dick start a brand-new vm?
Is it okay for the application to keep data on the object store?
Does Susan have permission to access the NoSQL database's client data?

It's crucial to know IAM concepts and adhere to recommended practises. By allotting time to study and become thoroughly acquainted with the Identity and Access Management service straight away, we are doing ourselves a massive favor.

 

4. Utilize the Free Tier

AWS can be used without having to pay anything to get started. For the first year of a newly formed account, a majority of the services are offered at no cost. For the initial year, launch a virtual machine on AWS for 750 hours per month and pay nothing. During the first year, AWS will give you free storage on the object store up to 5 GB. Freely store up to 25 GB in the NoSQL database or use a Lambda function up to 1,000,000 times.
As a means to begin started, it is highly advised to use the Free Tier to learn about these services.

 

5. Choose the right region(s)

 AWS operates data centers all over the world and groups them into regions. Before using an AWS service, we should think about selecting the best region for the particular use case. Things to consider when choosing a region:  

  • Which area is nearest to your consumers in terms of latency?
    Service accessibility: Is the area home to every service you want to use?

    Compliance: Are you permitted to retain and process data within the region's legal framework?

    Costs: How much will it cost to manage your workload in the area?

6. Activate CloudTrail

To keep track of each AWS API request, use CloudTrail. A log event is recorded each time a team member modifies the cloud service (for instance, by changing the network settings). This enables us to troubleshoot errors or look into security incidents.

When activated, CloudTrail generates log files that can be viewed later if necessary. It is also advised to send a copy of the CloudTrail logs to a separate AWS account with more limited accessibility for better protection. By doing this, attackers are unable to delete session logs.

 

7. Get to know the necessary services.

The below criteria can be used to classify cloud services:

  • Networking

  • Compute

  • Storage

  • Database

  • Security

 

AWS provides more than 200 types of services under these areas. Learn about the most well-known before beginning your adventure:

8. Configure the AWS Command Line Interface (CLI)

The AWS Command Line Interface, or AWS CLI, is indeed the quickest and most straightforward way to communicate with AWS services. The AWS Management Console is what we use when interacting with AWS via a web browser and a web frontend.

The AWS Command Line Interface (CLI) becomes a viable tool when we want to automate some operations. It can be manually invoked or contained within other custom scripts, such as shell scripts. Installing and configuring the AWS CLI is the first step.

 

9. Try to automate as much as possible!

The ability to orchestrate all aspects of our cloud architecture, from creating and deploying virtual machines to developing the entire core network, is one of the main benefits of using AWS. Without a doubt, implementing automation improves the calibre of our infrastructure and significantly minimises administrative work. To optimize the use of AWS, we ought to strive for automation in AWS (try AWS CloudFormation or Cloud Development Kit). 

 

10. Trust the Trusted Advisor

It is advised that our accounts undergo routine assessment by a cloud architect with AWS knowledge. We can leverage the AWS Trusted Advisor if that is not feasible. This is an automated AWS account consultant. The classifications in the AWS Trusted Advisor should be used to enhance an AWS account:

  • Cost Optimization

  • Performance

  • Security

  • Fault Tolerance

Sometimes the beginning of a cloud journey can feel daunting. At first, the sheer number of services offered and the lack of direction may appear bewildering. However, armed with these pointers and strategies, you may speed up the procedure and feel more comfortable beginning your work with AWS.

 

 

About the author

Angel Sayani

Developer, author, Founder of IntellChromatics Inc. She holds over 13 advanced IT certifications. AWS Certified Cloud Practitioner, CSA's CCSK, CompTIA CLOUD+ & Cloud Essentials+ certified.