--- tags: IOTA, GCP, tech --- # Set up IOTA2.0 ndoe on GCP **Table of contents** [ToC] ## Create a VM on GCP 1. Go to [GCP](https://console.cloud.google.com/) 2. Make sure you are choosing the right project: fio-internal-training ![](https://i.imgur.com/qI25Ie4.png) ### Create a firewall 1. Search firewall on the navbar and choose "Firewall" ![](https://i.imgur.com/Siu3O3c.png) 2. Click CREATE FIREWALL RULE ![](https://i.imgur.com/N3NKrzx.png) 3. Naming your firewall ![](https://i.imgur.com/cO2JrtG.png) - For this case, we're going to set up a iota node for test. so it will be `micky-allow-iota2-for-micky-test-iota2` 4. Set up "Target tags" and "Source IPv4 ranges" ![](https://i.imgur.com/6sUQnkX.png) - Target tags: Latter we need to use this tag to tell our VM using this firewall, so you can just give it simple tag ex: `micky-iota2-test` - Source IPv4 ranges: Input `0.0.0.0/0` which refers to all IPv4 addresses. so it mean you can let anyone to access you 5. Set up protocols and ports ![](https://i.imgur.com/yVs47DZ.png) - picture below is some port that we need to set up according to the [document](https://wiki.iota.org/goshimmer/tutorials/setup) ![](https://i.imgur.com/5iHhPA9.png) - Click tcp and input `14666,8080,8081,6061` - Click udp and input `14626` - ![](https://i.imgur.com/VYJuMuv.png) 6. Make sure you are the same as the following picture ![](https://i.imgur.com/auFDbNS.png) ### Create a Instance - **Search `Compute Engine` on nav bar and go to Compute Engine** - **Click CREATE INSTANCE** ![](https://i.imgur.com/DbYspib.png) - **Below is recommend requirement on document** ![](https://i.imgur.com/wb5ReMU.png) - **Choose the following divice** ![](https://i.imgur.com/2K0emn0.png) - **Change boot disk as the picture below** ![](https://i.imgur.com/K9qabjk.png) ![](https://i.imgur.com/n8fxsG8.png) - **expand NETWORKING** ![](https://i.imgur.com/GOrxr4n.png) - **Network tags input the tags you type in firewall's target tags(Have to be the same)** ![](https://i.imgur.com/gYAzaTh.png) - **Make sure the money and Item is the same** ![](https://i.imgur.com/PCjjPq7.png) - Create!!! ## Setting up a GoShimmer node 1. Use gcloud command to access the vm ![](https://i.imgur.com/8UoHC3v.png) 2. Follow the document on IOTA [link](https://wiki.iota.org/goshimmer/tutorials/setup)