{"id":553,"date":"2011-03-22T16:34:38","date_gmt":"2011-03-22T16:34:38","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=553"},"modified":"2024-11-10T18:41:30","modified_gmt":"2024-11-10T18:41:30","slug":"amazon-web-services","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/amazon-web-services\/","title":{"rendered":"Amazon Web Services"},"content":{"rendered":"\n<p>I created this article in 2011, it was copied across to the wordpress wiki in the summer of 2013, and then amended in November 2013. I returned to it in Feb 2015, to document my adventures with wordpress.&nbsp;In 2017, I wanted to return to VNC\/RDP and so came back to this page and I&nbsp;reviewed the content and moved much of it to the comments section of this page.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\">Virtual Private Clouds<\/h3>\n\n\n\n<p>In 2017, Amazon are keen that you use what they call a VPC, a Virtual Private Cloud, this needs a gateway (firewall)&nbsp;if you need it to connect to the internet. Documentation on the use and construction of &nbsp;<a href=\"http:\/\/docs.aws.amazon.com\/AmazonVPC\/latest\/UserGuide\/default-vpc.html\">the VPC is held here<\/a>. Use the VPC portal to<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create the VPC, it needs a ip block, I am usually using 10.0.0.0\/16, I don&#8217;t need it to be so large.<\/li>\n\n\n\n<li>Create an internet gateway (IG)<\/li>\n\n\n\n<li>Amend the routing table, using the routing table menu item on the VPC portal, in the VPC to associate the outgoing route to the internet with the IG.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">XRDP<\/h3>\n\n\n\n<p>I used neutrino labs xdrp code<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>http:\/\/c-nergy.be\/blog\/?p=10513<\/li>\n\n\n\n<li>http:\/\/c-nergy.be\/blog\/?p=10752<\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Not quite working, its trying to display on the private ip address and it finds :0 cannot be written to.<\/p>\n<\/blockquote>\n\n\n\n<p>I gave up on this route.<\/p>\n\n\n\n<p>I found <a href=\"https:\/\/web.archive.org\/web\/20170118045553\/https:\/\/aws.amazon.com\/premiumsupport\/knowledge-center\/connect-to-linux-desktop-from-windows\/\">this support page<\/a>, on the amazon site detailing how to make and connect to a bespoke desktop.&nbsp;I have placed the code in <a href=\"https:\/\/github.com\/dfl1955\/ubuntu-tools\">my ubuntu-tools github repo<\/a>, called <code>mk-rdesktop<\/code>.<\/p>\n\n\n\n<p>I still need to either set a password, or create a new login user.<\/p>\n\n\n\n<p>AWS also offer Desktop AMIs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Launching an Instance<\/h3>\n\n\n\n<p>Amazon have a good page,&nbsp;<a href=\"http:\/\/docs.amazonwebservices.com\/AWSEC2\/latest\/GettingStartedGuide\/\">Getting Started Guide<\/a>. This focuses on&nbsp;<b>Launching an Instance<\/b>. Launching your 1st instance allows you to obtain an ssh key and declare some firewall rules. Make sure that ssh is enabled and that you store the key. The user and instance name are available from the aws console.<br><a name=\"persistence\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Saving to persistent storage<\/h3>\n\n\n\n<p>Amazon have a documentation page,&nbsp;<a href=\"http:\/\/docs.amazonwebservices.com\/AWSEC2\/latest\/GettingStartedGuide\/index.html?WhereGoFromHere.html\">Where to go from here?<\/a>&nbsp;which recommended using ES storage for hosting machine images.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Console Access<\/h3>\n\n\n\n<p>I use putty or bash ssh, even easier with Ubuntu for Windows 10.<br><a name=\"hadoop\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Important Amazon Support<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/forums.aws.amazon.com\/forum.jspa?forumID=30\">EC2 support Forums<\/a><\/li>\n<\/ul>\n\n\n\n<p><a name=\"services\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Essential Services<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>SSH &#8211; don&#8217;t forget to allow it in the firewall rules<\/li>\n\n\n\n<li>DNS &#8211; I use DynDNS, whose home page.<\/li>\n\n\n\n<li>apache &#8211; need to test that dyndns is working<\/li>\n\n\n\n<li>git &#8211; planet venus now uses git, see also\u00a0<a href=\"https:\/\/davelevy.info\/wiki\/planet-planet\/\">my planet planet<\/a>\u00a0page<\/li>\n\n\n\n<li>scp\/ftp &#8211; I need a file transfer program to up load stuff, it seems I have one<\/li>\n\n\n\n<li>one drive &#8211; see<a href=\"https:\/\/askubuntu.com\/questions\/958406\/how-to-setup-onedrive-in-ubuntu17-04\"> this on ask unbuntu<\/a>.<\/li>\n<\/ol>\n\n\n\n<p>While not essential the following are useful,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Zabbix can be useful, but I have never bothered to install it since I have not been running servers. Zabbix needs firewall ports to be opened.<\/li>\n\n\n\n<li>Java, \u00a0when the article was originally written, Linux didn&#8217;t come with Java, but most repos now support it.<\/li>\n\n\n\n<li>I experimented with VNC and moved my notes to the comments (17th June 2017)<\/li>\n<\/ol>\n\n\n\n<p class=\"has-text-align-center\">ooOOOoo<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I created this article in 2011, it was copied across to the wordpress wiki in the summer of 2013, and then amended in November 2013. I returned to it in Feb 2015, to document my adventures with wordpress.&nbsp;In 2017, I wanted to return to VNC\/RDP and so came back to this page and I&nbsp;reviewed the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2442,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[8,3],"tags":[160,159,161,37,162,916,911,532,28,163],"class_list":["post-553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-technology","tag-amazon","tag-aws","tag-ddclient","tag-hadoop","tag-java","tag-linux","tag-technology","tag-vnc","tag-wordpress","tag-zabbix"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2011\/03\/amazon-web-services.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=553"}],"version-history":[{"count":19,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/553\/revisions"}],"predecessor-version":[{"id":11747,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/553\/revisions\/11747"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/2442"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}