Last Update - 2020/02/13
It is a CloudFormation template which will deploy 6 different EC2 Launch Templates, using the Pasec official build AMI at AWS.
You can play any AAA games on any device with a browser without buying an expensive gaming machine. Also, you can enjoy the endless compute capacity on the Cloud.
The price of different instance type depends on which region you have deployed.
- g2.2xlarge
- NVIDIA GRID K520 GPU
- 8 vCPU
- 15 GiB RAM
- Hourly Price: $0.767 - $1.16
- g3.4xlarge
- NVIDIA Tesla M60 GPU
- 16 vCPU
- 122 GiB RAM
- Hourly Price: $1.14 - $2.316
- g4dn.xlarge
- NVIDIA T4 GPU
- 4 vCPU
- 16 GiB RAM
- Hourly Price: $0.526 - $0.894
- Not available in Singapore and Sydney region
- g4dn.2xlarge
- NVIDIA T4 GPU
- 8 vCPU
- 32 GiB RAM
- Hourly Price: $1.12 - $1.1383
- Not available in Singapore and Sydney region
- g4dn.4xlarge
- NVIDIA T4 GPU
- 16 vCPU
- 64 GiB RAM
- Hourly Price: $1.94 - $2.361
- Not available in Singapore and Sydney region
You can go https://www.cloudping.info to check which region has the lowest latency.
- us-east-1 (US N.Virginia)
- us-west-1 (US N.California)
- us-west-2 (US Oregon)
- eu-central-1 (DE Frankfurt)
- eu-west-1 (Ireland)
- ap-southeast-1 (Signapore)
- ap-southeast-2 (AU Sydney)
- ap-northeast-1 (JP Tokyo)
-
Create an AWS account
-
Select the region
-
Create case to AWS for allowing you to use G type instance.
-
After approved, deploy the CloudFormation stack using the template below
https://aws-parsec-gaming-rig.s3.ap-east-1.amazonaws.com/template.yaml
-
Go to EC2 Launch Template and select which instance type you want to launch
-
After launched, wait the status check success
-
Use TightVNC to connect to the instance, by using INSTANCE_IP_ADDRESS::5900 and the password is 4ubg9sde
-
Login tu your Parsec and do some configuration
This section will NOT start/launch any EC2 instance(s). NO money will cost during and after this section
-
YOU WON'T ABLE TO START ANY GPU INSTANCES IF YOU MISS THIS STEP
- At default, all new created AWS account will not be able to launch any G instance, which you need to create a support case to AWS.
- Go AWS Support Dashboard - Create Case
- At the 'Requests' section, select the region you wish to use.
- Select 'All G Instance'
- Enter any number into 'New limit value', this value has limit HOW MANY instance you can launch, if you wish to launch ony ONE, just enter 1.
- At the 'Use case description', just enter what you want, like 'I want to increase All G instance limit to 1'
- then just wait, AWS Support may take few minutes or hours (worese will be a day) to
- Select the lowest latency region on the top right corner.
-
Go to CloudFormation
-
Click 'Create Stack' > 'with new resources'
-
Paste the following URL into 'Amazon S3 Url'
https://aws-parsec-gaming-rig.s3.ap-east-1.amazonaws.com/template.yaml
-
Enter the stack name - AWSParsecGamingRig
-
Next > Next > Create Stack
-
Wait until the stack create complete.
- After you have finish Set Up, go AWS EC2 Launch Template
- Select the instance type you wish to launch.
- Click 'Actions' > 'Launch instance from template' ('Actions' button at the top right)
- Scroll down to the bottom, click 'Launch instance from template'
- Go EC2 Running Instance
- You should see the instance that running, wait the 'Status Check' to become '2/2', it should take few minutes.
- While waiting the instance ready, go download and install TightVNC
- After the instance ready, note down the Public IP Address
- Open 'TightVNC Viewer' and.
- Enter your IP address and add '::5900' behind. (Example: 12.34.56.78::5900)
- Click 'Connect' and enter the password 4ubg9sde
- And now you should be able to see your instance destop.
- Login the Parse, go 'Setting' > 'Host'
- Set the 'Bandwidth Limit' to '50 Mbps', and set 'H.265 (HEVC)' to 'On'
- AND LET THE GAMES BEGIN, ENJOY
I won't talk much here, if you want to know what is the detail difference, google it.
- Pay the compute capacity you have consumed.
- Launched instance won't terminate by it self.
- Has up to 90% discount compare to On-Demand prices
- It may terminate any moment. You can go Spot Instance Advisor and check how is the possibility will AWS terminate/stop your instance.
- Maximum launch time - 6 hours
It depends on which instance type and class you have choose.
There are multitple things will cost your money.
- Computer (EC2 Instance)
- You launch it, it starts billing.
- You stop it, it stop billing
- Go check On-Demand Pricing or Spot Pricing(Select the corresponding region and Windows not Linux)
- Storage (EBS)
- Go check EBS Pricing
You decide to launch your Parsec Gaming Rig at us-east-1 (US N. Virginia). You have deployed and launched a g4dn.xlarge On-Demand instance at 2020/01/02 16:00, and terminate the instance at 2020/01/15 22:00, and you have played 3 hours per day. The network data transfer(IO) used 100GB at total.
Instance:
$0.71/Hour * 3Hours/Day * 14Days = $27.69
Bandwidth:
$0.01/GB * 100GB = $1
Storage:
$0.1/M * 100GB * ((14D * 24h/d - 16h - 2h) * 60m/h * 60s/m) / 86400s/d / 30d/M = $4.416
(M=Month,D=Day,h=Hour,m=Minute,s=Second)
Total = $27.69 + $1 + $4.416 = $33.106
-
!!!WARMING!!! THIS IS A TEMORARY STORAGE, WHICH MEANS IT WILL ALL DISAPEAR AFTER SHUTDOWN If you have launched an G4 instance, you should have an NVMe SSD storage (125GB/225GB). Go check this tutorial to know how to alocate that volume.
-
If you want to install some famous applications quicklym you can use Chocolatey.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install googlechrome origin uplay -y
The command above install chocolatey, Google Chrome, Origin and Uplay. Kindly remind, do not forget to run powershell as administrator.