• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Amazon AWS Tutorials

Welcome to AWS  Tutorials. The objective of these tutorials is to provide in depth understand o f AWS Programming Language.

In addition to free AWS  Tutorials, we will cover common interview questions, issues and how to’s of AWS .

Introduction

Amazon Web Services has an extremely functional and easy to use web console called the AWS Management Console. It’s brilliant for performing complex tasks on your AWS infrastructure, although as a Linux sysadmin, you may want something more “console” friendly.

Amazon Web Services (AWS) is a comprehensive, evolving cloud computing platform provided by Amazon.com. Web services are sometimes called cloud services or remote computing services. The first AWS offerings were launched in 2006 to provide online services for websites and client-side applications.

To minimize the impact of outages and ensure robustness of the system, AWS is geographically diversified into regions. These regions have central hubs in the Eastern USA, Western USA (two locations), Brazil, Ireland, Singapore, Japan, and Australia. Each region comprises multiple smaller geographic areas called availability zones.

The growing AWS collection offers over three dozen diverse services including:

-Cloud Drive, which allows users to upload and access music, videos, documents, and photos from Web-connected devices. The service also enables users to stream music to their devices.

-Cloudsearch, a scalable search service typically used to integrate customized search capabilities into other applications.

-Dynamo Database (also known as DynamoDB or DDB), a fully-managed NoSQL database service known for low latencies and scalability.

-Elastic Compute Cloud, which allows business subscribers to run application programs and can serve as a practically unlimited set of virtual machines (VMs).

-Elasticache, a fully managed caching service that is protocol-compliant with Memcached, an open source, high-performance, distributed memory object caching system for speeding up dynamic Web applications by alleviating database load.

-Mechanical Turk, an application program interface (API) that allows developers to integrate human intelligence into Remote Procedure Calls (RPCs) using a network of humans to perform tasks that computers are ill-suited for.

-RedShift, a petabyte-scale data warehouse service designed for analytic workloads, connecting to standard SQL-based clients and business intelligence tools.

-Simple Storage Service (S3), a scalable, high-speed, low-cost service designed for online backup and archiving of data and application programs.

All AWS offerings are billed according to usage. The rates vary from service to service.

At TekSlate, we offer resources that help you in learning various IT courses. We avail both written material and demo 
video tutorials. To gain in-depth knowledge and be on par with 
practical experience, then explore Amazon AWS Training.

AWS DC/OS Installation Guide

You can create a DC/OS cluster for Amazon Web Services (AWS) by using the DC/OS template on AWS CloudFormation.Depending on the DC/OS services that you install, you might have to modify the DC/OS templates to suit your needs. For more information, see Scaling the DC/OS cluster in AWS.

System requirements

Hardware

An Amazon EC2 m3.xlarge instance. Selecting smaller-sized VMs is not recommended, and selecting fewer VMs will likely cause certain resource-intensive services, such as distributed datastores, to not work properly.

You have the option of 1 or 3 Mesos master nodes.

5 private Mesos agent nodes is the default.

1 public Mesos agent node is the default.

Software

An AWS account.

SSH installed and configured. This is required for accessing nodes in the DC/OS cluster.

Install DC/OS

Prerequisite: You must have an Amazon EC2 Key Pair for the same region as your cluster. Key pairs cannot be shared across regions. The AWS key pair uses public-key cryptography to provide secure login to your AWS cluster. For more information about creating an Amazon EC2 Key Pair, see the documentation.

Launch the DC/OS template on CloudFormation and select the region and number of masters (1 or 3). You must have a key pair for your selected region.
On the Select Template page, accept the defaults and click Next.

Capture.1504

On the Specify Details page, specify a cluster name (Stack name), Key Pair (KeyName), authentication (OAuthEnabled), public agent (PublicSlaveInstanceCount), private agent (SlaveInstanceCount), and clickNext.

Important: The DC/OS template is configured for running DC/OS. If you modify the template you might be unable to run certain packages on your DC/OS cluster.

Capture.1505

On the Options page, accept the defaults and click Next.

On the Review page, check the acknowledgement box and then click Create.

Note: If the Create New Stack page is shown, either AWS is still processing your request or you’re looking at a different region. Navigate to the correct region and refresh the page to see your stack.

Learn more about Amazon AWS Interview Questions in this blog post.

Monitor the DC/OS cluster convergence process

In CloudFormation you should see:

The cluster stack spins up over a period of 10 to 15 minutes.

The status changes from CREATE_IN_PROGRESS to CREATE_COMPLETE.

Troubleshooting: A ROLLBACK_COMPLETE status means the deployment has failed. See the Events tab for useful information about failures.

Launch DC/OS

Launch the DC/OS web interface by entering the Mesos Master hostname:

-From the Amazon CloudFormation Management page, click to check the box next to your stack.

-Click on the Outputs tab and copy/paste the Mesos Master hostname into your browser to open the DC/OS web interface. The interface runs on the standard HTTP port 80, so you do not need to specify a port number after the hostname.Note: You might need to resize your window to see this tab. You can find your DC/OS hostname any time from the Amazon CloudFormation Management page.

Capture.1506

Capture.1507

Click the dropup menu on the lower-left side to install the DC/OS Command-Line Interface (CLI). You must install the CLI to administer your DCOS cluster.

Capture.1508

Uninstalling on Amazon Web Services

You can uninstall DC/OS from AWS with these instructions.You will continue to be charged AWS fees if:

-You delete only the individual EC2 instances, not the entire stack. If you delete only the individual instances, AWS will restart your DC/OS cluster.

-Your stack fails to delete. You must monitor the stack deletion process to ensure it completes successfully.

-Your S3 bucket is not empty.

To uninstall DC/OS on AWS:

-Select your cluster on the Cloud Formation Management page and click Delete Stack. For more information, see Deleting a Stack on the AWS CloudFormation Console.
-Navigate to the S3 Management Console and delete your DC/OS buckets. For more information, see Deleting or Emptying a Bucket.

Operational efficiency and reducing costs continue to be critical issues for IT leaders. Common concerns include:

Overspending on hardware and storage capacity. IT leaders want to be able to ensure high-availability during periodic and seasonal peaks, but that often requires an overinvestment in infrastructure to ensure capacity can meet demand. Excess capacity causes overspending and waste.

Business leaders want IT to help preserve cash. Traditional capital expenses for IT infrastructure requires an upfront investment. Because the capability of hardware and software increases rapidly, making large, up-front capital investments in assets that quickly become outdated does not make good business sense.

-A non-standardized IT environment and platform is expensive from a  security, support and training perspective. Thus, IT departments are often      forced to spend the majority of their time and budget performing non-differentiating activities. IT leaders want their teams to spend more time adding value.

-Cost-Effective – Consume only the amount of compute, storage and other IT resources needed. No long-term commitment, minimum spend or up-front investment is required.

-Elastic and Scalable – Quickly add and subtract resources to applications to meet customer demand and manage costs. Avoid provisioning resources up-front for projects with variable consumption rates or short lifetimes.

-Experienced – Leverage Amazon.com’s 15+ years of experience delivering large-scale, global infrastructure. Benefit as AWS continues to hone and innovate its infrastructure management capabilities and skills.

-Flexible – Use familiar architectures, databases, operating systems and programming languages. Improve overall productivity and time to market without the need for IT to learn new skills.

-Security – AWS builds and delivers its services in accordance with the industry’s highest and strictest security best practices. AWS conducts regular and thorough audits to demonstrate the security of its infrastructure.

The benefits of AWS and cloud computing overall are significant. According to Gartner, between 2013 and 2015, infrastructure-as-as-service (IaaS) will grow from $8.1B to $15.5B (91%); platform-as-a-service (PaaS) will grow from $1.2B to $1.8B (50%); and software-as-a-service (SaaS) will grow from $14.5B to $22.1B (52%). Thus, the total market spend for cloud computing will increase from $23.8B to $39.4B (66%). Cloud computing is here. Leveraging the benefits of AWS can dramatically increase both the effectiveness and efficiency of your company.

Related Trainings

Contact US

Need an Instructor Led Training, Contact Us





Enter this code: captcha