Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Cloudera Employee

Cloudbreak on AWS

Before launching Cloudbreak on AWS, review and meet the prerequisites.

Meet the Prerequisites

Before launching Cloudbreak on AWS, you must meet the following prerequisites.

AWS Account

In order to launch Cloudbreak on AWS, you must log in to your AWS account. If you don't have an account, you can create one at https://aws.amazon.com/.

AWS Region

Decide in which AWS region you would like to launch Cloudbreak. The following AWS regions are supported: Image

SSH Key Pair

Import an existing Key Pair or generate a new Key Pair in the AWS region which you are planning to use for launching Cloudbreak and clusters. You need this SSH Key Pair to SSH to the Cloudbreak instance and Start Cloudbreak. To do this use the following steps.

  • Navigate to the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
  • Check the region listed in the top right corner to make sure that you are in the correct region.
  • In the left pane, find NETWORK AND SECURITY and click Key Pairs.
  • Do one of the following:

    To generate a new Key Pair:

    • Click Create Key Pair to create a new key pair
    • Your private Key file will be automatically downloaded onto your computer.
    • Make sure to save it in a secure location. You will need it to SSH to the cluster nodes.
    • You may want to change access settings for the file using chmod 400 my-key-pair.pem.

    To import an existing Public Key:

    • Click Import Key Pair to upload an existing Public Key
    • Select the Public Key and click Import.
    • Make sure that you have access to its corresponding Private Key.

Key Based Authentication

If you are using key-based authentication for Cloudbreak on AWS, you must be able to provide your AWS Access Key and Secret Key pair. Cloudbreak will use these keys to launch the resources. You must provide the Access and Secret Keys later in the Cloudbreak web UI later when creating a credential.

If you choose this option, all you need to do at this point is check your AWS account and make sure that you can access this Key Pair. You can generate new access and secret keys from the IAM Console.

To do this go to the IAM Service:

  1. In the left pane click on Users > Select a user
  2. Click on the Security credentials tab
  3. Creat Access Key or use an existing Access Key. There is a limit of two.

ImageImage

To create a new user go to IAM Service:

1.In the left pane click on Users > Select Add User

2.Enter a user name, select Programming access and then click on Next: Permissions Image

3.For Set Permissions keep the defaul "Add usert to group"

4.In Add User to group select all the groups then click Next:Review

5.Review your choices and click on Create User

Image

6.If your user has been created successfully you will see a similar image as below

Image

7.Once you are done with these steps, you are now ready to create cloud credentials in your Cloudbreak application.

Log into the Cloudbreak application

1. Confirm the security exception

Access Cloudbreak via a browser: https://cloudbreak-crashcourse.com/sl/ You will likely see a browser warning when you first open the Ambari UI. That is because we are using self-signed certificates. Click on Advance and then proceed to cloudbreak server.

Image

2. login page

Cloudbreak login page. Credentials will be provided for these services by the instructor.

Image

Once you log in as a first time user, your screen will look like this. Click on Go To Credentials.

Image

3. Create Cloudbreak Credentials

The first thing you need are credentials to a cloud provider of your choice.

  1. Click on Credentials in the right menu
  2. Then click on Create Credentials

Image

Pick the cloud provider of your choice

Image

Pick a type of credential, Role based or Key based. For the purpose of this tutorial pick Role based. Provide a name and description for the credential. Get the Access Key and Secret Key from previous section. If everything has gone well, then the credentials are created.

Image

508 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎07-02-2018 09:26 PM
Updated by:
 
Contributors
Top Kudoed Authors