{"id":32350,"date":"2016-02-23T15:12:02","date_gmt":"2016-02-23T12:12:02","guid":{"rendered":"https:\/\/www.altoros.com\/blog\/?p=32350"},"modified":"2018-08-01T17:14:11","modified_gmt":"2018-08-01T14:14:11","slug":"getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws","status":"publish","type":"post","link":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/","title":{"rendered":"Getting Started with a CPU-Enabled TensorFlow Instance on AWS"},"content":{"rendered":"<p>TensorFlow supports deployment to one or more CPUs or GPUs in a single machine. In this tutorial, we focus on installing the CPU version of TensorFlow on Amazon Elastic Compute Cloud.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#Software_requirements\" >Software requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#Creating_an_instance_on_AWS\" >Creating an instance on AWS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#Configuring_an_environment\" >Configuring an environment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#Running_a_sample\" >Running a sample<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#Using_TensorBoard\" >Using TensorBoard<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#Further_reading\" >Further reading<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#About_the_author\" >About the author<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Software_requirements\"><\/span>Software requirements<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To get started with TensorFlow, your environment requires a certain amount of pre-installed software.<\/p>\n<p>The chosen for the tutorial <em>ami-d93622b8<\/em> contains the majority of the necessary software, including Python, <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">pip<\/code>, and <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">glibc<\/code>. On your part, you need to install the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">gcc<\/code> compiler when following the instructions below.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Creating_an_instance_on_AWS\"><\/span>Creating an instance on AWS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Create the AWS instance from <em>ami-d93622b8<\/em>.\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/\u0441reate-the-aws-instance-v1.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/\u0441reate-the-aws-instance-v1.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-32355\" \/><\/a><\/center><\/li>\n<li>Choose the instance type. For the tutorial, <em>c3.2xlarge<\/em> with 16 GB of SSD is used.\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/choose-the-instance-type-v1.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/choose-the-instance-type-v1.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-32352\" \/><\/a><\/center><\/li>\n<li style=\"padding-bottom: 6px;\">Configure a security group and other instance details.<\/li>\n<li>Generate (or reuse) a key pair for access to the instance.<\/li>\n<\/ol>\n<p><strong>Note:<\/strong> When creating the tutorial, three other AMIs\u2014<em>Amazon ECS-Optimized Amazon Linux AMI<\/em>, <em>CentOS 7 (x86_64)<\/em> with <em>Updates HVM<\/em>, and <em>amzn-ami-hvm-2013.09.2.x86_64-s3<\/em>\u2014were tested. However, TensorFlow installation using these AMIs was unsuccessful.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Configuring_an_environment\"><\/span>Configuring an environment<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Log in to the remote instance via SSH with the default username\u2014<em>ec2-user<\/em>.<\/li>\n<li>Check Python and pip availability:\n<pre style=\"padding-left: 30px;\">python --version\r\npip --version<\/pre>\n<\/li>\n<li>Install the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">gcc<\/code> compiler:\n<pre style=\"padding-left: 30px;\">sudo yum install gcc<\/pre>\n<\/li>\n<li>Install TensorFlow:\n<pre style=\"padding-left: 30px;\">sudo pip install<\/pre>\n<\/li>\n<li>Check whether the configured environment is correct in a Python terminal:\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">$ python\r\n&gt;&gt;&gt; import tensorflow as tf\r\n&gt;&gt;&gt; hello = tf.constant('Hello, TensorFlow!')\r\n&gt;&gt;&gt; sess = tf.Session()\r\n&gt;&gt;&gt; print sess.run(hello)\r\nHello, TensorFlow!\r\n&gt;&gt;&gt; a = tf.constant(10)\r\n&gt;&gt;&gt; b = tf.constant(32)\r\n&gt;&gt;&gt; print sess.run(a+b)\r\n42<\/pre>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Running_a_sample\"><\/span>Running a sample<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Install Git:\n<pre style=\"padding-left: 30px;\">yum install git -y<\/pre>\n<\/li>\n<li>Clone the project:\n<pre style=\"padding-left: 30px;\">git clone --recurse-submodules https:\/\/github.com\/tensorflow\/tensorflow<\/pre>\n<\/li>\n<li>Run the TensorFlow neural net model:\n<pre style=\"padding-left: 30px;\">python tensorflow\/tensorflow\/models\/image\/mnist\/convolutional.py<\/pre>\n<pre style=\"padding-left: 30px;\">Initialized!\r\nEpoch 0.00\r\nMinibatch loss: 12.054, learning rate: 0.010000\r\nMinibatch error: 90.6%\r\nValidation error: 84.6%\r\nEpoch 0.12\r\nMinibatch loss: 3.285, learning rate: 0.010000\r\nMinibatch error: 6.2%\r\nValidation error: 7.0%\r\nEpoch 0.23\r\nMinibatch loss: 3.473, learning rate: 0.010000\r\nMinibatch error: 10.9%\r\nValidation error: 3.7%\r\nEpoch 0.35\r\nMinibatch loss: 3.221, learning rate: 0.010000\r\nMinibatch error: 4.7%\r\nValidation error: 3.2%\r\nEpoch 0.47\r\nMinibatch loss: 3.193, learning rate: 0.010000\r\nMinibatch error: 4.7%\r\nValidation error: 2.7%<\/pre>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Using_TensorBoard\"><\/span>Using TensorBoard<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>You may also employ a visualization tool called <a href=\"https:\/\/www.altoros.com\/blog\/visualizing-tensorflow-graphs-with-tensorboard\/\">TensorBoard<\/a>.<\/p>\n<ol>\n<li>Add <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">\/usr\/local\/bin<\/code> to <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">PATH<\/code> via <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">.bashrc<\/code>:\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">PATH=$PATH:$HOME\/bin:\/usr\/local\/bin<\/pre>\n<li>Copy the TAG file:\n<pre style=\"padding-left: 30px;\">sudo cp -R \/home\/ec2-user\/tensorflow\/tensorflow\/tensorboard\/TAG \/usr\/local\/lib\/python2.7\/site-packages\/tensorflow\/tensorboard\/TAG<\/pre>\n<\/li>\n<li>Copy the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">favicon.ico<\/code> file into the TensorBoard folder:\n<pre style=\"padding-left: 30px;\">sudo cp favicon.ico \/usr\/local\/lib\/python2.7\/site-packages\/tensorflow\/tensorboard\/<\/pre>\n<\/li>\n<li>Update the AWS security group. The inbound TCP port 6006 must be opened.\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/update-the-aws-security-group-v1.png\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/update-the-aws-security-group-v1.png\" alt=\"\" width=\"640\" class=\"aligncenter size-full wp-image-32354\" \/><\/a><\/center><\/li>\n<li>Run TensorBoard on the server:\n<pre style=\"padding-left: 30px;\">tensorboard --logdir \/var\/log<\/pre>\n<\/li>\n<li>Open TensorBoard in a browser:\n<p><center><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/open-tensorboard-in-a-browser-v1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/open-tensorboard-in-a-browser-v1.png\" alt=\"\" width=\"959\" height=\"399\" class=\"aligncenter size-full wp-image-32353\" \/><\/a><\/center><\/li>\n<\/ol>\n<p>As a result, you have your CPU version of TensorFlow and TensorBoard available and ready to use on AWS.<\/p>\n<p>For many types of tasks, the <a href=\"https:\/\/www.altoros.com\/research-papers\/performance-of-distributed-tensorflow-a-multi-node-and-multi-gpu-configuration\/\">GPU version of TensorFlow<\/a> demonstrates higher performance. At the same time, it  requires additional hardware and software.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Further_reading\"><\/span>Further reading<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/basic-concepts-and-manipulations-with-tensorflow\/\">Basic Concepts and Manipulations with TensorFlow<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/visualizing-tensorflow-graphs-with-tensorboard\/\">Visualizing TensorFlow Graphs with TensorBoard<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/blog\/tensorflow-in-the-cloud-accelerating-resources-with-elastic-gpus\/\">TensorFlow in the Cloud: Accelerating Resources with Elastic GPUs<\/a><\/li>\n<li><a href=\"https:\/\/www.altoros.com\/research-papers\/performance-of-distributed-tensorflow-a-multi-node-and-multi-gpu-configuration\/\">Performance of Distributed TensorFlow: A Multi-Node and Multi-GPU Configuration<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"About_the_author\"><\/span>About the author<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><small><strong>Evheny Shaliov<\/strong> is a software developer at Altoros with 5+ years of experience in architecture design and database development. He has strong skills in building microservices-based architectures that use NoSQL data stores. Evheny is a teaching assistant in Belarusian State University of Informatics and Radioelectronics; he&#8217;s also studying for a PhD in information security.<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TensorFlow supports deployment to one or more CPUs or GPUs in a single machine. In this tutorial, we focus on installing the CPU version of TensorFlow on Amazon Elastic Compute Cloud.<\/p>\n<p>&nbsp;<\/p>\n<p>Software requirements<\/p>\n<p>To get started with TensorFlow, your environment requires a certain amount of pre-installed software.<\/p>\n<p>The chosen for the tutorial ami-d93622b8 [&#8230;]<\/p>\n","protected":false},"author":24,"featured_media":32359,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[214],"tags":[748,749],"class_list":["post-32350","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-machine-learning","tag-tensorflow"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Getting Started with a CPU-Enabled TensorFlow Instance on AWS | Altoros<\/title>\n<meta name=\"description\" content=\"The tutorial provides instructions on how to create an AWS instance, configure TensorFlow environment, and start using a set of visualization tools\u2014TensorBoard.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started with a CPU-Enabled TensorFlow Instance on AWS | Altoros\" \/>\n<meta property=\"og:description\" content=\"TensorFlow supports deployment to one or more CPUs or GPUs in a single machine. In this tutorial, we focus on installing the CPU version of TensorFlow on Amazon Elastic Compute Cloud. &nbsp; Software requirements To get started with TensorFlow, your environment requires a certain amount of pre-installed software. The chosen for the tutorial ami-d93622b8 [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/\" \/>\n<meta property=\"og:site_name\" content=\"Altoros\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-23T12:12:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-08-01T14:14:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"266\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"Victoria Fedzkovich\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Victoria Fedzkovich\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/\",\"name\":\"Getting Started with a CPU-Enabled TensorFlow Instance on AWS | Altoros\",\"isPartOf\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif\",\"datePublished\":\"2016-02-23T12:12:02+00:00\",\"dateModified\":\"2018-08-01T14:14:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/c7b416b09612e334a4e0184568906c36\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#primaryimage\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif\",\"width\":640,\"height\":266},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.altoros.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with a CPU-Enabled TensorFlow Instance on AWS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#website\",\"url\":\"https:\/\/www.altoros.com\/blog\/\",\"name\":\"Altoros\",\"description\":\"Insight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.altoros.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/c7b416b09612e334a4e0184568906c36\",\"name\":\"Victoria Fedzkovich\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/author-v-f-150x150.jpg\",\"contentUrl\":\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/author-v-f-150x150.jpg\",\"caption\":\"Victoria Fedzkovich\"},\"description\":\"Victoria Fedzkovich strives for effective technical communication at Altoros. As a professional with 7+ years of experience in technical and scientific writing, she creates content for user guides, manuals, white papers, and technical overviews. Victoria is currently focused on the Cloud Foundry ecosystem and IoT solutions.\",\"url\":\"https:\/\/www.altoros.com\/blog\/author\/viktoryia-fedzkovich\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting Started with a CPU-Enabled TensorFlow Instance on AWS | Altoros","description":"The tutorial provides instructions on how to create an AWS instance, configure TensorFlow environment, and start using a set of visualization tools\u2014TensorBoard.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started with a CPU-Enabled TensorFlow Instance on AWS | Altoros","og_description":"TensorFlow supports deployment to one or more CPUs or GPUs in a single machine. In this tutorial, we focus on installing the CPU version of TensorFlow on Amazon Elastic Compute Cloud. &nbsp; Software requirements To get started with TensorFlow, your environment requires a certain amount of pre-installed software. The chosen for the tutorial ami-d93622b8 [...]","og_url":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/","og_site_name":"Altoros","article_published_time":"2016-02-23T12:12:02+00:00","article_modified_time":"2018-08-01T14:14:11+00:00","og_image":[{"width":640,"height":266,"url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif","type":"image\/gif"}],"author":"Victoria Fedzkovich","twitter_misc":{"Written by":"Victoria Fedzkovich","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/","url":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/","name":"Getting Started with a CPU-Enabled TensorFlow Instance on AWS | Altoros","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#primaryimage"},"image":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif","datePublished":"2016-02-23T12:12:02+00:00","dateModified":"2018-08-01T14:14:11+00:00","author":{"@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/c7b416b09612e334a4e0184568906c36"},"breadcrumb":{"@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#primaryimage","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/02\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-amazon-elastic-compute-cloud.gif","width":640,"height":266},{"@type":"BreadcrumbList","@id":"https:\/\/www.altoros.com\/blog\/getting-started-with-a-cpu-enabled-tensorflow-instance-on-aws\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.altoros.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Getting Started with a CPU-Enabled TensorFlow Instance on AWS"}]},{"@type":"WebSite","@id":"https:\/\/www.altoros.com\/blog\/#website","url":"https:\/\/www.altoros.com\/blog\/","name":"Altoros","description":"Insight","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.altoros.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/c7b416b09612e334a4e0184568906c36","name":"Victoria Fedzkovich","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/author-v-f-150x150.jpg","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/03\/author-v-f-150x150.jpg","caption":"Victoria Fedzkovich"},"description":"Victoria Fedzkovich strives for effective technical communication at Altoros. As a professional with 7+ years of experience in technical and scientific writing, she creates content for user guides, manuals, white papers, and technical overviews. Victoria is currently focused on the Cloud Foundry ecosystem and IoT solutions.","url":"https:\/\/www.altoros.com\/blog\/author\/viktoryia-fedzkovich\/"}]}},"_links":{"self":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/32350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/comments?post=32350"}],"version-history":[{"count":18,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/32350\/revisions"}],"predecessor-version":[{"id":32745,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/32350\/revisions\/32745"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media\/32359"}],"wp:attachment":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media?parent=32350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/categories?post=32350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/tags?post=32350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}