2. Agenda
1. Preparation
2. Launch CAELinux2013 on AWS
3. Connect to CAELinux
• ssh
• X2GO for OSX
• X2GO for Windows
4. Run OpenFOAM
• Tutorial model “Cavity”
• Mesh – Run – Post
5. Terminate EC2
3. preparation
AWS account
For Mac
terminal
For Windows
ssh client : putty, teraterm
Scp client : WinSCP, Filezilla
Tutorial by CAELinux
http://caelinux.com/CMS/index.php?option=com_kunena&func=view&catid=2&id=7359
&Itemid=300025#7359
4. Launch CAELinux2013 on AWS
CAELinux2013
Go to AWS console
https://console.aws.amazon.com/
Select Tokyo region
Go to EC2 console
6. Launch CAELinux2013 on AWS (Cont.)
Click “Community AMIs”
Search the AMI with “CAELinux”
Click “Select”
7. Launch CAELinux2013 on AWS (Cont.)
Step 2: Choose an Instance Type
c4.xlarge may b good for testing
Click “Next Configure Instance Details”
Step 3: Configure Instance Details
All configuration are default
Click “Next: Add Storage”
Step 4: Add Storage
Default
Click “Next: Tag Instance”
8. Launch CAELinux2013 on AWS (Cont.)
Step 5: Tag Instance
Value = instance name on AWS EC2 console
Click “Next: Configure Security Group”
Step 6: Configure Security Group
See right
Click “Review Launch
Step 7: Review Instance Launch
Click “Launch”
9. Launch CAELinux2013 on AWS (Cont.)
Select an existing key pair or create a new
key pair
Choose an existing key pair
Select a key pair
Check the acknowledgement
Click “Launch Instances”
Create a new key pair
Define your key pair name
Download key pair
Click “Launch Instances”
Go back to EC2 console
10. Connect to CAELinux –ssh-
Ssh log in to CAELinux instance
Host : Public DNS or public IP
User : ubuntu
Key : your key pair
Mac : ssh -i yourkeypair.pem ubuntu@ec2-XX-XX-XXX-XX.YYYYY.compute.amazonaws.com
Windows : Putty, Teraterm…etc
Execute “setupCAELinuxUser.sh” or “passwd caelinux”
Set a password for the desktop user “caelinux”
13. Connect to CAELinux –X2GO-
Download Xqauartz from below URL
http://xquartz.macosforge.org/landing/
V ersion 2.7.7 is the latest at 2015-09-14
Double click on XQaurtz.pkg
After installation, please log-out once
14. Connect to CAELinux –X2GO-
Download the client package from below URL
http://code.x2go.org/releases/binary-
macosx/x2goclient/releases/4.0.5.0/
Recommended to use the latest and older OSX version
which you use
Double click on the dmg file and drag x2goclient into
Application folder
15. Connect to CAELinux –X2GO-
Launch x2goclient and configure
like upper right figure
Click “OK”
please enter the password
Click “OK”
You can see the beautiful snow
mountain view after 15-30 sec
17. Connect to CAELinux –X2GO-
Install X2GO on Windows
Download setup exe from
http://code.x2go.org/releases/binary-win32/x2goclient/releases/4.0.5.0-2015.07.31/
Execute the downloaded installer
18. Connect to CAELinux –X2GO-
Launch x2goclient and configure
like upper right figure
Click “OK”
please enter the password
Click “OK”
You can see the beautiful snow
mountain view after 15-30 sec