Create a Virtual Machine and Set up API on Google Cloud Last Updated : 30 Sep, 2022 Comments Improve Suggest changes Like Article Like Report Cloud Computing is an attractive and prosperous field of Computer Science today. This introductory article focusses on how to work on Google Cloud to make computation, storage and working easier. Let's discuss the stepwise procedure to create a Virtual Machine and Setting up API on Google Cloud. At first, visit Google Cloud and select the Get Started Free option. This will redirect you to your Google account login page. You need to provide information regarding your college, debit card etc. Provide all necessary information and Google will provide you a free Google Developer account on Google Cloud for free. Not only that but it will also provide you $300 for buying Computation engine. This process usually takes a few hours, but sometimes happens faster. After creation of the account, open Google Cloud and you will see a window appear like the one given above. Select the Go To Console option. You will be redirected to a page demonstrating your first project which is titles by default as My First Project. From the left side panel, Select the option Compute Engine and from the drop-down menu select VM instances. The page that appears is for configuring your Virtual Machine instance. You can give it a name and select a region and a zone (For Indians, it is Aisa-South-1). Then you need to select the Machine type. If you want to run your code on Google's server and need high-performance capacity, then select higher vCPUs. But if you want to run your code on local machine with Google's API, a shared vCPU will work just fine and will cost significantly lesser. For the Boot Disk, you can select from a range of available Linux OS Distributions. Then you can create the instance or can further change settings according to your required specifications. After required changes click on Create. Now your instance is created and you can perform calculations on your Virtual Machine at the remote server. As seen from the above image, from the Connect drop-down menu, select Open in Browser Window. This will open the Linux terminal with your selected computation power and storage. You can also open via SSH keys using software like Putty Generator (which provides encrypted private keys and forms a secure connection with a remote server using the External IP address given in the above image). Now since your instance is up and running, you need to select your required Application Programming Interface (API) from the list of available options. This provides a list of all Google Cloud APIs. The most common APIs used are Translation API, Google Maps API, Speech to Text API, Vision API, Video Intelligence APIs etc. Nowadays Big Data APIs are also used widely. Search for the required API and select it from the available options. Suppose, you need Speech-to-Text API. Click on Enable this API which will open the following page. From the left side panel select the option Credentials. From the page that appears, select the option Create credentials and from the drop-down menu, select Service account Key. Select your Service name (project name) and keep the file type default to JSON and select Create. A .json file will be downloaded with the authenticated API key and credentials. Comment More infoAdvertise with us A ArijitGayen Follow Improve Article Tags : Cloud Computing Explore Cloud Computing Tutorial 10 min read Basics Of Cloud ComputingIntroduction to Cloud Computing 8 min read History of Cloud Computing 4 min read Evolution of Cloud Computing 6 min read Characteristics of Cloud Computing 2 min read Advantages of Cloud Computing 8 min read Architecture of Cloud Computing 6 min read Cloud Computing Infrastructure 3 min read Cloud Management in Cloud Computing 6 min read What is Cloud Storage? 15 min read Real World Applications of Cloud Computing 6 min read Cloud Deployment ModelsCloud Deployment Models 12 min read Types of Cloud Computing 12 min read Difference Between Public Cloud and Private Cloud 6 min read Public Cloud vs Private Cloud vs Hybrid Cloud 7 min read Cloud Service ModelsCloud Based Services 11 min read Platform As A Service (PaaS) and its Types 11 min read Software As A Service (SaaS) 2 min read Difference between SaaS, PaaS and IaaS 7 min read Cloud VirtualizationVirtualization in Cloud Computing and Types 6 min read Difference between Cloud Computing and Virtualization 4 min read Pros and Cons of Virtualization in Cloud Computing 5 min read Data Virtualization 9 min read Hardware Based Virtualization 5 min read Server Virtualization 3 min read Types of Server Virtualization in Computer Network 5 min read Network Virtualization in Cloud Computing 4 min read Operating system based Virtualization 5 min read Cloud Service ProviderAmazon Web Services (AWS) Tutorial 13 min read Microsoft Azure Tutorial 13 min read Google Cloud Platform Tutorial 8 min read Advanced Concepts of CloudOn Premises VS On Cloud 3 min read Differences between Cloud Servers and Dedicated Servers 4 min read Cloud Networking 11 min read Server Consolidation in Cloud Computing 6 min read Hypervisor Security in Cloud Computing 5 min read Cloud Computing Security 5 min read Security Issues in Cloud Computing 5 min read 7 Privacy Challenges in Cloud Computing 5 min read Security Threats in Implementing SaaS of Cloud Computing 6 min read Multitenancy in Cloud computing 2 min read Middleware in Grid Computing 2 min read Difference between Cloud Computing and Grid Computing 4 min read Scalability and Elasticity in Cloud Computing 4 min read Cloud Bursting vs Cloud Scaling 7 min read Automated Scaling Listener in Cloud Computing 4 min read Difference Between Multi-Cloud and Hybrid Cloud 5 min read Difference Between Cloud Computing and Fog Computing 3 min read Overview of Multi Cloud 10 min read Service level agreements in Cloud computing 6 min read Overview of Everything as a Service (XaaS) 5 min read Resource Pooling Architecture in Cloud Computing 3 min read Load balancing in Cloud Computing 6 min read Overview of Desktop as a Service (DaaS) 5 min read IoT and Cloud Computing 6 min read Container as a Service (CaaS) 5 min read Principles of Cloud Computing 3 min read Resiliency in Cloud Computing 4 min read Serverless Computing 3 min read Like