This document will take you through the steps to get access to the LinuxONE community cloud, deploy a virtual virtual and start using it in your project.
- Request access to LinuxONE Community Cloud
- First time setup
- Deploy your LinuxONE virtual server
- Log in to your LinuxONE virtual server
-
In a browser, go to the LinuxONE Community Cloud website.
-
Click Start your trial now.
-
Complete the required fields on the registration form.
-
Provide a mobile phone number that is capable of receiving SMS messages.
- Select a country code.
- Enter your mobile phone number. Do not use dashes (-).
- Click Get Code.
Note: You will see a countdown timer. If you don’t get a code within a reasonable amount of time, you can request a new one when the timer expires. Do not repeatedly click 'Get Code'. Each click will send you a new code, invalidating the previous one.
-
Go to your mobile phone and check for an SMS message from LinuxONE.
-
Complete your registration.
- Enter the LinuxONE Community Cloud registration code.
- Click Request your trial.
-
You will see this THANK YOU page indicating your registration is successful.
-
You now have access to the LinuxONE Community Cloud self service portal.
- Click Sign In.
-
Check your email for a registration confirmation similar to the following shown. You will need your User ID and Password from this email to sign in to the self service portal.
-
Back in your browser, from the self service portal login page:
- Enter your user ID and password found in the registration successful email.
- Click Sign in.
-
Now is a good time to change your password to one that is secure and easy for you to remember.
- Click your username from the upper right corner of the Home page.
- Select Account Settings.
- Provide the necessary information to change your password.
-
Now is also a good time to create or import an SSH key. An SSH public key is required to deploy Linux instance. The instance can only be accessed with your private key that matches the public key.
- Click your username from the upper right corner of the Home page.
- Select Manage SSH Key Pairs.
- If you already have a public SSH key you wish to use with this cloud:
- Click Import.
- Enter a Key Name for this key.
- Browse your local file system to select the public key path.
- Click Upload your public key.
- If you want to create a new SSH key pair:
- Click Create.
- Enter a Key Name for this key.
- Click Create a new key pair.
- A pop-up window will appear asking you to save yourkey. pem file. This is your private key. Please save it to a secure location. Once this operation is complete, there is no way to retrieve this key. Click OK to save the file.
-
Go to the Home page, Infrastructure section and Virtual Servers service.
- Click Manage Instances.
- Click Create.
-
Select a virtual server type.
- If this server is for generic purpose use, select General purpose VM.
- If this server is for a Hackathon event, select Hackathon. A valid event code is required.
-
Provide details information for this instance. Enter:
- An Instance Name, without any spaces or special characters.
- An Instance Description.
-
Select the desired Linux image.
-
Select the desired flavor (configuration).
Note: If you selected the Hackathon server type, you will not see this section. A flavor of LinuxONE-Medium will be selected by default.
-
Select the SSH key to use.
-
Verify that all the information is correct and click Create.
-
Watch the status of your newly deployed instance go through the following phases of start up: networking, spawning, Active. When your instance status changes to active, it is ready for use.
Write down the IP address of your instance. You will need it to log in.
-
Open the Terminal application.
-
Ensure that you have the SSH private key used to deploy the server.
-
If you have not done so already, change the permission bits of this key to 600.
chmod 600 /path/to/key/keyname.pem
-
Log in to the linux1 user ID with SSH.
ssh –i /path/to/key/keyname.pem linux1@serveripaddress
-
Set up PuTTY to use the SSH key for your server. Refer to the Setting up PUTTY on Windows to use ssh private key tutorial.
-
Log in to the linux1 user ID.
-
You can use ‘sudo’ to execute commands that require root authority.
-
It could take up to 10 minutes to format and mount the /data disk. Issue the following command to verify the /data disk is available before continuing:
df -h
-
Firewall is enabled. Only the SSH port is open. Modify the firewall rules with iptables if you need other ports opened. For example:
iptables -I INPUT -p tcp --dport <port#> -j ACCEPT
If you want to make your changes permanently, issue this command:
iptables-save > /etc/sysconfig/iptables
-
You must log in with the user ‘linux1’ with your SSH private key. No modification (use of password authentication, for example) is allowed.
-
The user ‘root’ login is disabled for security reasons. No modification is allowed.
-
There is no backup for your virtual server. It is the end user’s responsibility to back up any critical data.