<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ravi Kanth on Medium]]></title>
        <description><![CDATA[Stories by Ravi Kanth on Medium]]></description>
        <link>https://medium.com/@ravikanth_40227?source=rss-cfa08b6f4f48------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*qIR6lB5Wgb62X072.</url>
            <title>Stories by Ravi Kanth on Medium</title>
            <link>https://medium.com/@ravikanth_40227?source=rss-cfa08b6f4f48------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 17:01:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ravikanth_40227/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to deploy a sample application in Google Cloud Platform]]></title>
            <link>https://medium.com/@ravikanth_40227/how-to-deploy-a-sample-application-in-google-cloud-platform-c3e06b5dfac9?source=rss-cfa08b6f4f48------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3e06b5dfac9</guid>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[google-cloud-platform]]></category>
            <dc:creator><![CDATA[Ravi Kanth]]></dc:creator>
            <pubDate>Mon, 14 May 2018 15:43:16 GMT</pubDate>
            <atom:updated>2018-05-14T15:43:16.451Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Google Cloud Platform</strong></p><p>Google Cloud Platform is a suite of <a href="https://searchcloudcomputing.techtarget.com/definition/public-cloud">public cloud</a> computing services offered by Google. The platform includes a range of hosted services for compute, storage and application development that run on Google hardware. Google Cloud Platform services can be accessed by software developers, cloud administrators and other enterprise IT professionals over the public internet or through a dedicated network connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cKXLk9SUTVcW5aDpoMYD7g.jpeg" /></figure><p><strong>Before Deploying application to Google Cloud Platform:</strong></p><p>First, we should install <strong>Google Cloud SD</strong></p><p>1.Start Google Cloud SDK Shell</p><p>2.Run ‘gcloud init’</p><p>The installer then starts a terminal window and runs the gcloud init command.</p><p><strong>Troubleshooting tip:</strong> If your installation is unsuccessful due to the find command not being recognized, ensure your PATH environment variable is set to include the folder containing find. Usually, this is C:\WINDOWS\system32.</p><p><strong>Initialize the SDK</strong></p><p>Use the gcloud init command to perform several common SDK setup tasks. These include authorizing the SDK tools to access Google Cloud Platform using your user account credentials and setting up the default SDK configuration.</p><p><strong>To initialize the SDK:</strong></p><p>1. Run the following at a command prompt:</p><p>gcloud init</p><p>2. Accept the option to log in using your Google user account:</p><p>To continue, you must log in. Would you like to log in (Y/n)? Y</p><p>3. In your browser, log in to your Google user account when prompted and click Allow to grant permission to access Google Cloud Platform resources.</p><p>4. At the command prompt, select a Cloud Platform project from the list of those where you have <strong>Owner, Editor or Viewer permissions</strong>:</p><p>Pick cloud project to use:</p><p>[1] [my-project-1]</p><p>[2] [my-project-2]</p><p>…</p><p>Please enter your numeric choice:</p><p>If you only have one project, <strong>gcloud init</strong> selects it for you.</p><p>5. If you have the Google Compute Engine API enabled, <strong>gcloud init</strong> allows you to choose a default Compute Engine zone:</p><pre>Which compute zone would you like to use as project default?</pre><pre>[1] [asia-east1-a]</pre><pre>[2] [asia-east1-b]</pre><pre>...</pre><pre>[14] Do not use default zone</pre><pre>Please enter your numeric choice:</pre><p>gcloud init confirms that you have complete the setup steps successfully:</p><pre>gcloud has now been configured!</pre><pre>You can use [gcloud config] to change more gcloud settings.</pre><p>Your active configuration is: [default]</p><h3>Run core gcloud commands</h3><p>Run these gcloud commands to view information about your SDK installation:</p><p>1. To list accounts whose credentials are stored on the local system:</p><pre>gcloud auth list</pre><p>gcloud displays a list of credentialed accounts:</p><pre>Credentialed Accounts</pre><pre>ACTIVE             ACCOUNT</pre><pre>*                  example-user-1@gmail.com</pre><pre>example-user-2@gmail.com</pre><p>2. To list the properties in your active SDK configuration:</p><pre>gcloud config list</pre><p>gcloud displays the list of properties:</p><pre>[core]</pre><pre>account = example-user-1@gmail.com</pre><pre>disable_usage_reporting = False</pre><pre>project = example-project</pre><p>3. To view information your Cloud SDK installation and the active SDK configuration:</p><pre>gcloud info</pre><p>gcloud displays a summary of information about your Cloud SDK installation. This includes information about your system, the installed SDK components, the active user account and current project, and the properties in the active SDK configuration.</p><p>4. To view information about gcloud commands and other topics from the command line:</p><pre>gcloud help</pre><p>For example, to view the help for gcloud compute instances create:</p><pre>gcloud help compute instances create</pre><p>gcloud displays a help topic that contains a description of the command, a list of command flags and arguments, and examples of how to use it.</p><p>Deploying a sample application in GCP:</p><p>Any GCP resources that you allocate and use must belong to a project. You can think of a project as the organizing entity for what you’re building. A project is made up of the settings, permissions, and other metadata that describe your applications. Resources within a single project can work together easily, for example by communicating through an internal network, subject to the regions-and-zones rules. The resources that each project contains remain separate across project boundaries; you can only interconnect them through an external network connection.</p><p>A project can be identified in the following ways:</p><p>i) <strong>Project ID</strong>: the customized name you chose when you created the project, or when you activated an API that required you to create a project ID.</p><p>ii) <strong>Project number</strong>: a number that’s automatically generated by the server and assigned to your project.</p><p>iii) <strong>Project name</strong>: The project name is a human-readable way to identify your projects, but it isn’t used by any Google APIs.</p><p>As you work with GCP, you’ll use these identifiers in certain command lines and API calls. The following screenshot shows a project name, its ID, and number:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*maw9BoLEsfN9Smt8W1PzMQ.png" /></figure><p>In this example:</p><p>Example Project is the project name.</p><p>example-id is the project ID.</p><p>123456789012 is the project number.</p><p>Each project ID is unique across GCP. Once you have created a project, you can delete the project but its ID can never be used again.</p><h3>Ways to interact with the services</h3><p>GCP gives you three basic ways to interact with the services and resources.</p><p><strong>Google Cloud Platform Console</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*-me9qiFcZ_xTCpkbQTsuWA.png" /></figure><p>The <a href="https://console.cloud.google.com/">Google Cloud Platform Console</a> provides a web-based, graphical user interface that you can use to manage your GCP projects and resources. When you use the GCP Console, you create a new project, or choose an existing project, and use the resources that you create in the context of that project. You can create multiple projects, so you can use projects to separate your work in whatever way makes sense for you. For example, you might start a new project if you want to make sure only certain team members can access the resources in that project, while all team members can continue to access resources in another project.</p><p><strong>Command-line interface</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*8Lx5cQhK0FrgGgkUGJ8bKg.png" /></figure><p>If you prefer to work in a terminal window, the <a href="https://cloud.google.com/sdk/docs/">Google Cloud SDK</a> provides the <a href="https://cloud.google.com/sdk/gcloud/">gcloud command-line tool</a>, which gives you access to the commands you need. The gcloud tool can be used to manage both your development workflow and your GCP resources. See the gcloud <a href="https://cloud.google.com/sdk/gcloud/reference/">reference</a> for the complete list of available commands.</p><h3>Client libraries</h3><p>The Cloud SDK includes <a href="https://cloud.google.com/sdk/cloud-client-libraries">client libraries</a> that enable you to easily create and manage resources. GCP client libraries expose APIs for two main purposes:</p><p>· <em>App APIs</em> provide access to services. App APIs are optimized for supported languages, such as Node.js and Python. The libraries are designed around service metaphors, so you can work with the services more naturally and write less boilerplate code. The libraries also provide helpers for<a href="https://cloud.google.com/docs/authentication">authentication and authorization</a>.</p><p>· <em>Admin APIs</em> offer functionality for resource management. For example, you can use admin APIs if you want to build your own automated tools.</p><p>Accessing the application code folder:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*b_aMfo5knbLkHLsNUElwzQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*xswhYtvMZ9rcFdzEFqnaOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*zNWPFVQ6dbW521MKeDcISw.png" /></figure><p>We have to select the region where we want our App Engine application to be deployed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*tNdEP6RhzkyUUA4EDx0UtA.png" /></figure><p>Sample application is deployed and when we paste the url in the browser then we will get sample message</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*XK6tD_wjTD2n1ILgc1TeYw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3e06b5dfac9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>