Amazon Web Services | How to install AWS

It has been 11 years since the launch of Amazon groups its Infrastructure as a Service offering  (IaaS) In 2006 Amazon Web Services (AWS) began offering IT infrastructure services to businesses in the form of web services now commonly known as cloud computing. Today the service AWS is the one which consists of Storage and Content Delivery, Computing, Database and Networking.  It is a much reliable product when It comes to looking for a complete and balanced private infrastructure a group would wish for.  The services include AWS Identity Management, Amazon Cloud Services, AWS Identity Management, AWS Certificate manager for managing SSL/TLS certificates, also hardware-based key storage and management with AWS CloudHSM.

Services offered by Amazon Cloud Computing

Amazon Cloud Services

Monitoring over your infrastructure has never been easier with the use of these management tools by AWS like AWS Cloudtrail, Amazon CloudWatch and AWS Config for tracking resource inventory and changes. AWS has been in the cloud business since 2006 making it the oldest and most stable one in the business.  Its vast list of associated services made it much larger with it’s even better list of value-add partners who allows you to build exactly the kind of infrastructure that’s right for your organization. it could be cloned,  set private IPs, load-balanced, pluggable cloudy disks (EBS) and many more features that any development team would need to build their targeted application. It is the most generic and portable way to host a web application starting from cloud database to e-commerce storefronts, all in one place with custom coded apps. One can feel like a powerful server admin without having to uphold any physical structure or manage machines and instances within a click. A cloud service such as Amazon Web Services owns and maintains the network connected hardware necessary for these application services, while anyone provision and use what you need via a web application.

Cloud computing offers developers and IT departments with the freedom to focus on priority and avoid undifferentiated factors such as procurement, maintenance, and capacity planning. Since cloud computing has grown over time, several different models and deployment strategies have developed to help meet specific needs of different users.
Infrastructure As a service consists of the basic building blocks of for a cloud and technically provides access to networking features such is Amazon Web Service.

Features of Amazon Web Services

Features of Amazon Web Services

The four main offerings  Storage and Content Delivery, Computing, Database, and Networking can be controlled at a higher level with extensive admin controls accessible via a secure Web client.
Compute:   Designed to make web scaling easier for web developers  Amazon Elastic Compute Cloud (Amazon EC2) provides secure, resizable compute capacity. It decreases the time required to obtain and boot new server instances up to minutes providing you quicker scale capacity as your computing requirement changes. You need to pay only for the capacity you actually use and also provide a build failure resilient applications.

Benefits of EC2:  completely controlled instances, integrated with services like Amazon simple storage service and relational database service, highly reliable environment where replacement instances, secured in combination with Amazon VPS.
The computing services by Amazon also includes container management service Amazon EC2 Container Service (ECS) that support docker containers. Amazon EC2 Container Registry (ECR) another fully managed Docker container registry that makes it easy for developers to store, manage, and deploy Docker container images. Amazon Lights trail  for the launch and management of servers, AWS batch to easily run thousands of batch computing jobs, AWS Beanstalk, AWS Lamda and also Auto scaling.

Pricing:   Amazon EC2 is free to try , also with three ways to pay for EC2 :
1. On-Demand: One can pay for computing capacity at the hour basis with no long-term commitments or upfront payments. Depending on the demand the capacity could be adjusted i.e. increased or decreased.
Recommended for:  Users that prefer low cost and flexibility of Amazon EC2 without any up-front payment, short-term applications, unpredictable uninterrupted workloads.
2. Spot instances: Usually available at a discount when compared to the On-Demand pricing range, one can reduce the cost of running the applications, grow its compute capacity and throughput at the same budget, and enable new types of cloud computing applications.
Recommended for:   Applications with flexible start and end times, apps that are only feasible at very low compute prices and users with urgent computing needs.

3. Reserved Instances:  Provides up to 75% discount when compared to the on-demand pricing range, it is assigned to a specific availability zone wherein a capacity reservation is provided, providing an additional service to launch instances whenever needed.
Recommended for: Apps with steady state usage, apps that may require reserved capacity.
Storage: Storage with a simple web service interface to store and retrieve any amount of data from anywhere could be done by using  Amazon Simple Storage Service (Amazon S3). It can be used as a primary storage for cloud-native applications for analytics.
Benefits of S3 : It is simple to be used with a mobile app as well, provides full REST APIs and SDKs for easy integration, designed for durability of 99.999999999% of objects, secured with data transfer over SSL and automatic encryption, Integrated with other AWS services and Simple data transfer benefits with cloud data migration.

The storage services also come with Amazon Elastic bookstore ( Amazon EBS ) which provides constant block storage volumes in conjunction with Amazon EC2 instances in AWS Cloud. Amazon EBS volumes offer the reliable and low latency performance needed to run high workloads with a choice of choosing between solid-state disk (SSD)-backed or hard disk drive-backed (HDD )volumes.
A few more services from the storage category include Amazon Elastic File System (Amazon EFS) for scalable file storage that can create an configure file systems quickly and easily.

Database


Database
:  Amazon Aurora provides better performance than MySQL with a compatible relational database engine. It ia high in performance and provides 5x the throughput of standard MySQL and twice the throughput of standard PostgreSQL.
Benefits of Amazon Aurora: Provides multiple levels of security including nework isolation with Amazon VPS, one can create controls using AWS key management services,. One of the best benefits of Amazon Aurora is that it is fully compatible MySQL 5.6 using the InnoDB storage engine which makes Amazon Aurora compatible to your current tools of MySQL database. IT is highly scalable and automatically grows storage as needed, from 10GB up to 64TB. The storage is fault-tolerant, self healing also provides the service of copying your data six times and replicate across three availability zones with a persistent backup to Amazon S3.

There is nothing that makes it easier than Amazon Relational Database Service (Amazon RDS) to launch, operate and scale a relational database in the cloud, it provides you with the freedom while managing time-consuming database administration work and lets you focus n your target business. There are six common database engines one can choose from: Amazon Aurora, MySQL, Oracle, PostgreSQL, Microsoft SQL Server and MariaDB.

Benefits of Amazon RDS: No necessary requirement for infrastructure provisioning, the WS RDS Command Line Interface can be used to access the capabilities of a production ready relational database within minutes. One can scale the database’s computer easily. If conditioned with a Multi-AZ DB instance, Amazon RDS synchronously replicates the data to a standby instance in a different Availability Zone (AZ) and enhances reliability for critical production databases. It is secure with easy connect to the database also lets you run the instances on Amazon VPS, provides encryption at rest and encryption at transit.

A database that supports both document and key-value data models is Amazon DynamoDB, with a quick and NoSQL database service. With a reliable performance, it is a great choice for gaming, mobile app Internet of things (IoT).

Benefits of Amazon DynamoDB:  It is fast and constantly provides better performance as your data volume grows. This product uses automatic partitioning and SSD technologies for your throughput needs and delivers low latencies at any scale. In any case, your throughput needs change you can easily update your table’s request capacity using the AWS Management Console or the Amazon DynamoDB  APIs.  No requirement of managing database tasks such as setup, configuration, hardware or software provisioning since Amazon DynamoDB is itself fully managed. It integrates with AWS Lambda to provide Event-driven programming which enables you to build applications that quickly react to any data change. Amazon DynamoDB also combines with AWS IAM for your colleagues to provide fine-grained access control.

 Amazon ElastiCache


An in-memory cache service product is Amazon ElastiCache, it helps to improve the performance of web apps by retrieving information from quick, managed, in memory caches, rather than relying completely on slower disk-based databases.It currently supports two open sources in memory caching engines.
Redis: Provides ease of use with availability, reliability and exactly needed performance for demanding apps. Enabling scalability to up to 3.55 TiB of memory data it is ideal for gaming, mobile app, ad-tech and also IoT.
Memcached: It is a memory object caching system, which works flawlessly with this service.

Networking and Content Delivery:  Most important of all at AWS is Amazon Virtual Private Cloud (Amazon VPC) allows us a condition to logically isolate the section of the AWS Cloud where we can launch AWS resources in a virtual network. It provides absolute control over virtual networking environment with a part of own IP address range, the configuration of route tables and also network gateways. One can youse IPv4 and IPv6  on the VPC for safe and simple admission to resources with customized network configuration. Here, they have also provided multiple layers of security with security groups and network access control lists. A hardware virtual private network (VPN) can also be created to incorporate connection between data center and VPS  and control the AWS cloud as an extended corporate data center.

Another popular global content delivery network is Amazon CloudFront which integrates with other AWS products and services to provide the teams a freedom of content delivery to end users, with no minimum usage commitments. This product can be used to bring an entire website, including dynamic, static, streaming and interactive content by a global network of edge locations.  It can be used with other services such as Amazon S3, Amazon EC2 yet also works seamlessly with the non-AWS origin server.

A highly available and scalable cloud Domain Name System (DNS) web service is Amazon Route 53, provide developers an enormously dependable and cost effective method to route the end users to Internet applications by translating human readable names to numeric IP addresses that systems would use to connect to one another.  The cloud domain name system by Amazon AWS would efficiently connect user requests to infrastructure running in AWSsuch as EC2 instances, Elastic Load Balancing load balancers, or Amazon S3 buckets and also could be used to route users to infrastructure outside of AWS. With the use of Amazon Route 53 traffic flow’s easy visual editor, one can effortlessly manage their end-users which are routed to their application’s endpoints whether in a single AWS Region or distributed at any part of the web. Amazon Route 53 also provides Domain Name Registration that one can purchase and direct domain names such as sampleuse.com and Amazon Route 53 will routinely configure DNS settings for the domains.

If you need to put terabytes or even a petabyte of data into the cloud, then AWS Snowball it is.  The utilization of Snowball focuses common challenges with large scale data transfers with high network costs, long transfer times and security concerns. Transferring data with Snowball is simple, fast, secure, and can be very less as a cost of high-speed Internet. Snowball encompasses various layers of security designed to secure the data including tamper resistant enclosures, 256-bit encryption and an Industry based standard Trusted Platform Module (TPM) formed to ensure both security and the full chain of custody of data.

Amazon AWS  is based on a Red Hat Enterprise Linux (RHEL) variant and supports numerous Linux distributions and Windows Server 2003, 2008, and 2012 with the Xen hypervisor. Amazon’s cloud also supports Docker containers as mentioned above also with ten chief data centers around the globe, AWS is also an ideal choice for various multinational companies also small business enterprises.

Amazon Web Services Pricing

 Amazon Web Services Pricing is not as easy as it claims to be. They can argue that it is the cheapest service yet for customers making extensive use of all of those customizable services, Amazon can quickly nickel and dime anyone to a substantial price like any cloud platform vendor is going to argue that you can save money moving to the cloud.
The Amazon Cloud pricing is maintained in three ways:

 Amazon Cloud pricing

1. Pay-as-you-go: It allows you to simply become accustomed to changing business needs without over committing budgets and improving the responsiveness to any changes, by paying for services on need basis, the pay-as-you-go model adapts to the business depending on the needs and not on the predictions.

2. Pay less by suing more: A team of developers can get volume based discounts and observe the important savings as the usage increases. The pricing is tiered for products like S3 and EC2, paying less for more GBs used. The data transfer here is free of charge, AWS’ storage services portfolio provides factors to help lower pricing based on how frequently one access data and the needful performance to retrieve it. In this plan, one can optimize the savings by choosing the right combination of storage solution while reducing the cost. For instance :

S3 use for – UP to 50TB Storage : charges 0.023 GB/month
S3 use for –  51-100TB Storage   : charges 0.022 GB/month
S3 use for –  500 TB +Storage   : charges 0.021 GB/mont
Standard – Infrequent Access Storage has a minimum billable object size of 128KB
Standard – Infrequent Access Storage is charged for a minimum storage duration of 30 days

  1. Save when you reserve: Here invest in reserved capacity, possible to save upto 75% over equivalent on-demand capacity. Here the larger the upfront payment, the greater the discount. One can pay all up-front and receive the largest discount. With this plan, the organization can also minimize risk and comply with policies that require longer-term commitments. It also offers the flexibility to change families, OS types, and tenancies by benefitting from RI pricing while the use of  Convertible RIs.

EC2 RIs (reserved instances )  give a discounted hourly rate with an elective capacity reservation for EC2 instances. AWS Billing by design applies to the  RI’s discounted rate when attributes of EC2 instance usage match attributes of an active RI. It consists of ‘Standard RIs’, ‘Convertible RIs’ and ‘Scheduled RIs’.

Here is the difference between Standard RIs and Scheduled RIs.

Characteristic Standard Convertible
Terms (avg. discount off On-Demand) 1yr (40%), 3yr (60%) 3yr (45%)
Change Availability Zone, instance size (for Linux OS), networking type Yes (Using Modify Reserved Instances API and console) Yes (Using Exchange ReservedI nstances API and console)
Change instance families, operating system, tenancy, and payment option Yes
Sellable on the Reserved Instance Marketplace Yes (After linking account with a US bank account) Yet to Launch

How to Install AWS

AWS has such vast services with humongous options to chose from that it can be hard to determine what you’ll know and how much you’ll end up paying for it. AWS has been also assertively lowering its prices in the apparently unending price war against key competitors such as Google Cloud Platform and Microsoft Azure. As long as one keep an observational eye on what charges they are incurring on a regular basis they should be doing well.

Amazon Web Services

Installing AWS Command Line Interface:
The first step is to signup for an AWS account and set up the CLI environment.
1. Open https://aws.amazon.com/, and then choose to Create an AWS Account.
2. Follow the online instructions.
The sign-up procedure also  involves receiving a phone call and entering a PIN
Once the above two steps are done, the AWS sends a confirmation email on the registered email Id.

Requirements for Installation :
-Python 2 version 2.6.5+ or Python 3 version 3.3+
-Windows, Linux, macOS, or Unix
The primary distribution method for the AWS CLI on Linux, Windows, and macOS is ‘pip’ :  a package manager for Python which provides an easy way to install, upgrade, and remove Python packages and their dependencies.

In case you already have pip and a supported version of Python, follow the command :

$ pip install –upgrade –user awscli

upgrade: used to inform pipe to upgrade any requirements
the user: informs pip to install the program to a subdirectory of the user directory to avoid modifying libraries.

Once you install the AWS CLI add the path to the executable file to the  PATH variable.
Verify the AWS CLI installed correctly by running  ‘aws –version’ with the following code:

$ aws –versionaws-cli/1.11.44 Python/3.4.3 Linux/4.4.0-59-generic botocore/1.5.7

To update to the latest version of the AWS CLI : $ pip install –upgrade –user awscli

AWS offers building blocks that anybody can use rapidly to support virtually any workload in an organization. With AWS it is evident to find a complete set of highly available services that are planned to work mutually and build sophisticated scalable applications. Despite the price, is the most valuable and trusty solution of the cloud crowd and used for Delivering and deploying machines and environments to clients in a very quick way. Such services help organizations move faster, lower IT costs, and scale. AWS Cloud Computing is entrusted by the largest enterprises and the hottest startups to power a wide variety of workloads including the web and mobile applications, game development, data processing and warehousing, storage, archive, and many others.

So this was all about the Amazon Web services and how to install AWS, for any query you can leave a comment below we will reply you at the earliest.

 

Leave a Reply

Your email address will not be published. Required fields are marked *