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/.
Decide in which AWS region you would like to launch Cloudbreak. The following AWS regions are supported:
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.
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:
In the left pane click on Users > Select a user
Click on the Security credentials tab
Creat Access Key or use an existing Access Key. There is a limit of two.
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
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
6.If your user has been created successfully you will see a similar image as below
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.
2. login page
Cloudbreak login page. Credentials will be provided for these services by the instructor.
Once you log in as a first time user, your screen will look like this. Click on Go To Credentials.
3. Create Cloudbreak Credentials
The first thing you need are credentials to a cloud provider of your choice.
Click on Credentials in the right menu
Then click on Create Credentials
Pick the cloud provider of your choice
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.