{"componentChunkName":"component---src-templates-page-js","path":"/nyancat-spectrum","result":{"data":{"markdownRemark":{"frontmatter":{"title":"Deploy Nyancat Server to Google Cloud using containers in 5 mins","date":"02 October 2018","path":"/nyancat-spectrum","author":null,"excerpt":"I was looking for a TCP-based application for testing  Cloudflare Spectrum...","tags":["docker","container","telnet","google-cloud"],"coverImage":null},"id":"1741bb71-0da5-5dfe-9f28-733e56a82c5a","html":"<p>I was looking for a TCP-based application for testing  <a href=\"https://developers.cloudflare.com/spectrum/\">Cloudflare Spectrum</a></p>\n<ol>\n<li>stateless</li>\n<li>well known but not HTTP</li>\n<li>most importantly, fun!</li>\n</ol>\n<p>That's when I found <a href=\"https://github.com/klange/nyancat\">klange/nyancat</a> and it's a perfect use of a Docker container!</p>\n<p>I've uploaded my forked Docker version onto the Docker Hub: <a href=\"https://hub.docker.com/r/mw866/nyancat-server/\">https://hub.docker.com/r/mw866/nyancat-server/</a> Feel free to deploy it to your Docker environment with <code class=\"language-text\">docker pull mw866/nyancat-server</code>.</p>\n<p>While the README should be quite self-explanatory, Google Cloud really makes this process painless. Just run the following command using Google Cloud's <code class=\"language-text\">gcloud</code> CLI tool.</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">gcloud beta compute --project=&lt;project_name&gt; instances create-with-container cwang-nyancat-us --zone=&lt;zone_name&gt; --machine-type=&lt;machine_type&gt; --subnet=default --private-network-ip=&lt;private_network_ip&gt; --network-tier=PREMIUM --metadata=google-logging-enabled=true --maintenance-policy=MIGRATE --service-account=&lt;service_account&gt; --scopes= --tags=telnet --image=cos-stable-69-10895-62-0 --image-project=cos-cloud --boot-disk-size=10GB --boot-disk-type=pd-standard --boot-disk-device-name=nyancat --container-image=mw866/nyancat-server --container-restart-policy=always</code></pre></div>\n<p>/Chris</p>","excerpt":"I was looking for a TCP-based application for testing  Cloudflare Spectrum stateless well known but not HTTP most importantly, fun! That's…"}},"pageContext":{"type":"posts","next":{"frontmatter":{"path":"/gitlab-pages","title":"To GitLab Pages from AWS CloudFormation and Travis CI","tags":["gitlab","web","jekyll","aws","travis-ci","cloudflare","v3"]},"fileAbsolutePath":"/opt/build/repo/src/posts/2018-09-03-to-gitlab-pages.md"},"previous":{"frontmatter":{"path":"/workers-site","title":"Add Cloudflare Workers Site to GitLab Pages","tags":["gitlab","web","jekyll","cloudflare","cloudflare-workers"]},"fileAbsolutePath":"/opt/build/repo/src/posts/2019-10-02-gitlab_to_cloudflare_workers_site.md"}}},"staticQueryHashes":["1425477374","3128451518"]}