Serverworks Lightning Talks Tournament, 29th July, 2016
Easy way to beginComputational Fluid Dynamics (CFD)on Cloud
Takahisa Shiratori
@takashiratori
Dept. Tech. 2
Serverworks Co., Ltd.
Demonstration on YouTube: https://youtu.be/ft6hIxjFQKk?t=12m33s
Computational Fluid Dynamics (CFD)
Calculation Conditions
- Shape of the room
- etc…
CalculationInput
Output
Visualization
Most of CFDs are working with on-premises servers.
Let’s enjoy CFD on !
Why on AWS?
What is the benefit?
Low Initial Cost
Easy Backup
Elastic Computing Resource
Low Initial Cost
On-premises
Cost
Time
Low Initial Cost
Cost
Time
Cloud
Ex) Start-ups, Individuals, …
Low Initial Cost
Cost
Time
Cloud
Quit
Easy Backup
On-premises
Easy Backup
On-premises
Easy Backup
On-premises Cloud
Elastic Computing Resource
Elastic Computing Resource
Click!Click!
Click!
Click!Click!Click!
Scale-up!!
Scale-out!!
CFD Direct http://cfd.direct/
in AWS Marketplace: https://aws.amazon.com/marketplace/pp/B017AHYO16
✓ No software usage fee
✓ OpenFOAM (Simulation) + ParaView (Visualization)
Calculation Conditions
- Shape of the room
- etc…
OpenFOAM
(Calculation)Input
Output
ParaView
(Visualization)
How to prepare the CFD server?
Preparing an AWS Account
Apply to http://www.serverworks.co.jp/services/piece
or access to directly https://aws.amazon.com/
Launching a CFD Direct server (EC2) on AWS
Access to the server with SSH
1. Choose your region2. Click “EC2”
Click “Launch instance”
Click
“Community AMIs”
Input “CFD Direct”, and press Enter
Click “Select” of “CFD Direct From the Cloud”
1. Choose an Instance Type you want to use
2. Click “Next: Configure Instance Details”
The default parameter is enough to just use CFD Direct.
Click “Next: Add Storage”
1. Input the size of the Storage
2. Click “Add New Volume”
if you want two or more volumes
3. Click “Next: Tag Instance”
1. Type a Security group name
2. Choose “SSH” 3.
- If you have static global IP address,
choose “Custom IP” and type your IP.
- If you don’t have static global IP address,
choose “Everywhere”. (but not recommended)
Click “Launch”
1. Choose “Create a new key pair”
2. Type a key pair name
Ensure to store the downloaded private key securely, and be careful not to lose.
3. Click “Download Key Pair”
4. Click “Launch instances”
Click “View Instances”
1. Wait until the Status Checks show “2/2 checks passed”
2. Global IP address of your CFD Direct server is shown here
✓ Access to your CFD Direct server with reference to http://cfd.direct/cloud/aws/remote-desktop/
How does it work?
How much?
t2.micro c4.large c4.4xlarge
vCPU 1 2 16
Memory 1 GiB 3.75 GiB 30 GiB
Hourly fee 0.02 USD/hour 0.133 USD/hour 1.061 USD/hour
Working hours Assumed to be 8 hours/day
Storage Assumed to be 50 GiB
Computing monthly fee 4.88 USD/month 32.46 USD/month 258.89 USD/month
Storage monthly fee 6.00 USD/month
Total monthly fee 10.88 USD/month 38.46 USD/month 264.89 USD/month
in Asia Pacific (Tokyo)
This is a ROUGH estimation.
Please don’t be angry if your usage fee exceeds this.
Summary
Low Initial
Cost
Easy
Backup
Elastic
Computing
ResourceClick!Click!Click!
Cost
Time
Cloud
Quit
Thank you for your kind attention!
Contact Us
Serverworks Co., [email protected]
+81-(0)3-5579-8029日本語 http://www.serverworks.co.jp
English http://www.serverworks.co.jp/en
About Me
Experience
Mar. 2016 – Present Dept. Tech. 2 @ Serverworks
Apr. 2015 – Feb. 2016 Job rotation as newcomer training @ Serverworks
Apr. 2012 – Mar. 2015 Ph.D student in Fluid Mechanics
Takahisa Shiratori 白鳥 貴久
Serverworks Co., Ltd.