<?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"><channel><title><![CDATA[inssein]]></title><description><![CDATA[Personal blog by Hussein Jafferjee]]></description><link>https://inssein.com</link><generator>GatsbyJS</generator><lastBuildDate>Mon, 27 Jan 2020 19:34:11 GMT</lastBuildDate><item><title><![CDATA[Cloud 9 + Visual Studio Code Remote]]></title><description><![CDATA[If you followed my blog post, you now have a fully functioning cloud based integrated development environment. This is good enough to start…]]></description><link>https://inssein.com/aws-cloud9-vs-code-remote/</link><guid isPermaLink="false">https://inssein.com/aws-cloud9-vs-code-remote/</guid><pubDate>Sun, 26 Jan 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;If you followed my &lt;a href=&quot;https://inssein.com/cloud-based-ide/&quot;&gt;blog post&lt;/a&gt;, you now have a fully functioning cloud based integrated development environment. This is good enough to start out with, but lets take it to the next level.&lt;/p&gt;
&lt;p&gt;In this blog post, I will show you how you can use &lt;a href=&quot;https://code.visualstudio.com/&quot;&gt;Visual Studio Code&lt;/a&gt; and connect it to your AWS Cloud 9 development environment. This allows you to not have to setup anything on your local machine, except for having to install Visual Studio Code.&lt;/p&gt;
&lt;p&gt;Visual Studio Code is also the suggested IDE if you are following The Odin Project:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;VSCode is an excellent free code editor. It has outstanding add-on support and great Git integration. VSCode is the most popular code editor among Odin’s students and moderators, so support is easy to find in the community.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Pre-requisites&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Download and install &lt;a href=&quot;https://code.visualstudio.com/&quot;&gt;Visual Studio Code&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add &lt;a href=&quot;https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack&quot;&gt;Remote Development Extension Pack&lt;/a&gt; to Visual Studio Code.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Connect to SSH&lt;/h2&gt;
&lt;p&gt;Since your AWS Cloud 9 instance is just a regular AWS EC2 instance, we can customize it so that we can connect to it from anywhere in the world.&lt;/p&gt;
&lt;p&gt;First step is that we have to allow SSH connections from the outside. To do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to the &lt;a href=&quot;https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:sort=instanceId&quot;&gt;Amazon EC2 Console&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;You should only have one instance if you just created this account, and it should be auto selected. Otherwise, click on the Cloud 9 instance.&lt;/li&gt;
&lt;li&gt;In the description tab at the bottom, there should be a row for “Security groups”, with one security group in that row. Click on the name of the security group.&lt;/li&gt;
&lt;li&gt;Click in the “Inbound” tab at the bottom.&lt;/li&gt;
&lt;li&gt;By default, I had two rows already allowing SSH connections to what looks like an internal Amazon IP range so that Cloud 9 can connect to this machine via SSH. Since we want to be able to connect from anywhere, click on “Edit”.&lt;/li&gt;
&lt;li&gt;I delete my second row, and in my first row, I have set the source to “Anywhere”. It should look like this:
&lt;span
      class=&quot;gatsby-resp-image-wrapper&quot;
      style=&quot;position: relative; display: block; margin-left: auto; margin-right: auto;  max-width: 590px;&quot;
    &gt;
      &lt;a
    class=&quot;gatsby-resp-image-link&quot;
    href=&quot;/static/1bb079e87dbdcf81016300f1a7255b1c/ad1ae/inbound-rules.png&quot;
    style=&quot;display: block&quot;
    target=&quot;_blank&quot;
    rel=&quot;noopener&quot;
  &gt;
    &lt;span
    class=&quot;gatsby-resp-image-background-image&quot;
    style=&quot;padding-bottom: 28.72246696035242%; position: relative; bottom: 0; left: 0; background-image: url(&apos;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAGCAYAAADDl76dAAAACXBIWXMAABYlAAAWJQFJUiTwAAAA8klEQVQY012OC26DMBBEuf9BcpIeAVQqQikJHxuQgz/YgKgmXkcBWqSnnWV2Zx3FcYI4SZCmX2hahpZxMN6h9ZpxHiBNNCdeXnfyWnz6jKgoCtR1jSzLUFcVmqZBfr2CMYayvAW4Xya6rtuhvR8P93PkDX3vdzgiMq210Fpjnmc452CMwbquqPiIrBwwCAmlJJZl2RnHEUKIULWfD/1jRJTneTAoUCkVeGspFR5+iPppmsKhd6VHHP8M6JNSInLO7kHG6D3wQIWlbdv+8HvSk1txEwt6EQJnTP6atS5cfVX3r7cw9Joz5tAll7h83JF+13gCBxTGgEhKsfYAAAAASUVORK5CYII=&apos;); background-size: cover; display: block;&quot;
  &gt;&lt;/span&gt;
  &lt;img
        class=&quot;gatsby-resp-image-image&quot;
        alt=&quot;Inbound Rules&quot;
        title=&quot;Inbound Rules&quot;
        src=&quot;/static/1bb079e87dbdcf81016300f1a7255b1c/fcda8/inbound-rules.png&quot;
        srcset=&quot;/static/1bb079e87dbdcf81016300f1a7255b1c/12f09/inbound-rules.png 148w,
/static/1bb079e87dbdcf81016300f1a7255b1c/e4a3f/inbound-rules.png 295w,
/static/1bb079e87dbdcf81016300f1a7255b1c/fcda8/inbound-rules.png 590w,
/static/1bb079e87dbdcf81016300f1a7255b1c/efc66/inbound-rules.png 885w,
/static/1bb079e87dbdcf81016300f1a7255b1c/c83ae/inbound-rules.png 1180w,
/static/1bb079e87dbdcf81016300f1a7255b1c/ad1ae/inbound-rules.png 2270w&quot;
        sizes=&quot;(max-width: 590px) 100vw, 590px&quot;
        style=&quot;width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;&quot;
        loading=&quot;lazy&quot;
      /&gt;
  &lt;/a&gt;
    &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Allow Password Based Authentication&lt;/h2&gt;
&lt;p&gt;We are going to setup simple password based authentication so we can connect to the EC2 instance. This is &lt;em&gt;not&lt;/em&gt; the way I’d recommend to access production based machines, as you should really be setting up access via &lt;a href=&quot;https://en.wikipedia.org/wiki/Public-key_cryptography&quot;&gt;Public key authentication&lt;/a&gt;. However, I want to keep this as simple as possible.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We need to setup a password for our account. In the terminal in Cloud 9, type &lt;code class=&quot;language-text&quot;&gt;sudo passwd ubuntu&lt;/code&gt;, and then type in a password of choice.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;We need to now enable password based authentication. If you already know how to use a terminal, edit &lt;code class=&quot;language-text&quot;&gt;/etc/ssh/sshd_config&lt;/code&gt; and set &lt;code class=&quot;language-text&quot;&gt;PasswordAuthentication&lt;/code&gt; to &lt;code class=&quot;language-text&quot;&gt;yes&lt;/code&gt;. If you are not familiar, follow these steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type in &lt;code class=&quot;language-text&quot;&gt;sudo vim /etc/ssh/sshd_config&lt;/code&gt; in the terminal.&lt;/li&gt;
&lt;li&gt;Type in &lt;code class=&quot;language-text&quot;&gt;/PasswordAuth&lt;/code&gt; to find the text, and then hit enter.&lt;/li&gt;
&lt;li&gt;You are now on the line that needs to be changed. Press &lt;code class=&quot;language-text&quot;&gt;i&lt;/code&gt; to get into insert mode.&lt;/li&gt;
&lt;li&gt;Go to the end of the line, replace &lt;code class=&quot;language-text&quot;&gt;no&lt;/code&gt; with &lt;code class=&quot;language-text&quot;&gt;yes&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;To exit insert mode, press escape.&lt;/li&gt;
&lt;li&gt;Type &lt;code class=&quot;language-text&quot;&gt;:wq&lt;/code&gt; into the console and press enter (this writes the file, and exits).&lt;/li&gt;
&lt;li&gt;I’ve hopefully given you your first taste of &lt;code class=&quot;language-text&quot;&gt;vim&lt;/code&gt;. To learn more, check out &lt;a href=&quot;https://www.openvim.com/&quot;&gt;OpenVim&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Type &lt;code class=&quot;language-text&quot;&gt;sudo service ssh restart&lt;/code&gt; to restart the SSH service.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Connect to Your Cloud 9 Instance&lt;/h2&gt;
&lt;p&gt;Now the EC2 instance is ready to be connected to via Visual Studio Code.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;We need to get the public hostname for our EC2 instance. To do this, lets go back to &lt;a href=&quot;https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:sort=instanceId&quot;&gt;EC2 AWS Console&lt;/a&gt;, and select our Cloud 9 instance. In the description tab, there will be a Public DNS row. Let’s copy this address.&lt;/li&gt;
&lt;li&gt;Open visual studio code.&lt;/li&gt;
&lt;li&gt;On the bottom left, there is a green button that shows up once you have installed the Remote Development Extension Pack. Let’s click on this.&lt;/li&gt;
&lt;li&gt;Use the arrows keys to select “Remote-SSH: Connect to Host…“.&lt;/li&gt;
&lt;li&gt;In the next prompt, select “Add New SSH Hosts…“.&lt;/li&gt;
&lt;li&gt;In the next dialog box, enter &lt;code class=&quot;language-text&quot;&gt;ssh ubuntu@&lt;/code&gt; and then paste what we copied in step 1.&lt;/li&gt;
&lt;li&gt;In the next dialog box, pick a file to save your SSH config. I am on a Mac, so I selected my local ssh config which is &lt;code class=&quot;language-text&quot;&gt;/Users/inssein/.ssh/config&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A prompt will show on the bottom right saying that the host has been added. In this prompt, click on the “Connect” button.&lt;/li&gt;
&lt;li&gt;A new Visual Studio Code window will open, and it will connect you to the EC2 instance. Since we are using password based auth, it will ask you for the password every time.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Hello World&lt;/h2&gt;
&lt;p&gt;Now that you are connected to the Cloud 9 environment via Visual Studio Code, I am going to show you two small examples.&lt;/p&gt;
&lt;p&gt;First, let’s edit the &lt;code class=&quot;language-text&quot;&gt;index.html&lt;/code&gt; file we created in the first blog post.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click on the “Explorer” icon, which on the top left.&lt;/li&gt;
&lt;li&gt;Click on the “Open Folder” button.&lt;/li&gt;
&lt;li&gt;In the next dialog box, type in &lt;code class=&quot;language-text&quot;&gt;environment&lt;/code&gt;, so that it reads &lt;code class=&quot;language-text&quot;&gt;/home/ubuntu/environment&lt;/code&gt; (environment is the folder Cloud 9 uses).&lt;/li&gt;
&lt;li&gt;Hit enter and Visual Studio Code should reload with the environment folder open.&lt;/li&gt;
&lt;li&gt;In the explorer, the &lt;code class=&quot;language-text&quot;&gt;environment&lt;/code&gt; folder should be open. Lets select the &lt;code class=&quot;language-text&quot;&gt;index.html&lt;/code&gt; file, and change &lt;code class=&quot;language-text&quot;&gt;&amp;lt;h1&amp;gt;Hello World&amp;lt;/h1&amp;gt;&lt;/code&gt; to &lt;code class=&quot;language-text&quot;&gt;&amp;lt;h1&amp;gt;Hello Visual Studio Code&amp;lt;/h1&amp;gt;&lt;/code&gt;, and then save the file.&lt;/li&gt;
&lt;li&gt;If you still have the separate browser window open from the previous blog post, reload it, otherwise, if you go back into Cloud 9 and preview the file, you should see your new changes in the browser.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The second quick example is to show you that you can use the terminal inside Visual Studio Code just like you could with AWS Cloud 9. To try this, select &lt;code class=&quot;language-text&quot;&gt;Terminal&lt;/code&gt; in the top file menu, and then select &lt;code class=&quot;language-text&quot;&gt;New Terminal&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;What’s Next&lt;/h2&gt;
&lt;p&gt;You now have a local IDE hooked up to a remote development environment, without installing anything on your local machine.&lt;/p&gt;
&lt;p&gt;The one annoying thing with this setup is that every time you start it, it will ask you for your password. As I mentioned before, my goal was to get your playing around with a terminal and the IDE first, and then if you are still enjoying it, I recommend you setup key based authentication. Maybe this will be my next blog post.&lt;/p&gt;</content:encoded></item><item><title><![CDATA[Free cloud based integrated development environment]]></title><description><![CDATA[This is part 2 of reducing the barrier to entry of web development where I will be exploring AWS Cloud 9 as a solution for a development…]]></description><link>https://inssein.com/cloud-based-ide/</link><guid isPermaLink="false">https://inssein.com/cloud-based-ide/</guid><pubDate>Sun, 19 Jan 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;This is part 2 of &lt;a href=&quot;https://inssein.comw/eb-development-reducing-barriers-to-entry/&quot;&gt;reducing the barrier to entry of web development&lt;/a&gt; where I will be exploring AWS Cloud 9 as a solution for a development environment for &lt;a href=&quot;https://www.theodinproject.com/&quot;&gt;The Odin Project&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The goal was to setup a development environment accessible via only a web browser, reducing the barrier to entry as low as possible.&lt;/p&gt;
&lt;h2&gt;AWS Cloud 9&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser. It includes a code editor, debugger, and terminal. Cloud9 comes prepackaged with essential tools for popular programming languages, including JavaScript, Python, PHP, and more, so you don’t need to install files or configure your development machine to start new projects. Since your Cloud9 IDE is cloud-based, you can work on your projects from your office, home, or anywhere using an internet-connected machine. Cloud9 also provides a seamless experience for developing serverless applications enabling you to easily define resources, debug, and switch between local and remote execution of serverless applications. With Cloud9, you can quickly share your development environment with your team, enabling you to pair program and track each other’s inputs in real time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The catch here is that the basic setup will be free for 12 months, and require a credit card, unless you are a student (in which case, take a look at the AWS Educate for Students program).&lt;/p&gt;
&lt;h2&gt;Lets Get Started&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Sign up for an &lt;a href=&quot;https://portal.aws.amazon.com/billing/signup#/start&quot;&gt;AWS Account&lt;/a&gt;. This includes adding a credit card, and verifying your account.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a new &lt;a href=&quot;https://us-west-2.console.aws.amazon.com/cloud9/home/create&quot;&gt;AWS Cloud9 Environment&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pro-tip: Ensure a region is selected in the top right before creating an environment. If you are on the west coast of North America, I suggest &lt;code class=&quot;language-text&quot;&gt;us-west-2&lt;/code&gt; (Oregon).&lt;/li&gt;
&lt;li&gt;The first page, you are just naming the environment.&lt;/li&gt;
&lt;li&gt;In The second page (“Configure Settings”), ensure the Instancy Type is “t2.micro”, and for the platform, I suggest “Ubuntu Server 18.04 LTS” as its more friendly for beginners, especially when searching for help.&lt;/li&gt;
&lt;li&gt;Review the next page and click on “Create Environment”.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Once the environment is setup, you now have a fully functioning development environment with a plethora of languages available.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Continuing The Odin Project&lt;/h2&gt;
&lt;p&gt;You are now past the pre-requisite section of The Odin Project, without setting up anything locally, or learning about virtual machines, or figuring out how to dual boot.&lt;/p&gt;
&lt;p&gt;The first section is on &lt;a href=&quot;https://www.theodinproject.com/courses/web-development-101/lessons/command-line-basics-web-development-101&quot;&gt;Command Line Basics&lt;/a&gt;. This is perfect with Cloud 9 as you now have a full terminal available, which is by default in the bottom pane. You can maximize the terminal for this whole section.&lt;/p&gt;
&lt;h2&gt;Hello World&lt;/h2&gt;
&lt;p&gt;If you are not following The Odin Project, or just want to see a quick example of the capabilities of AWS Cloud 9, lets create a quick Hello World example&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On the right side, there is a “Getting Started” option with the first option being “Create File”. Go ahead and click on that.&lt;/li&gt;
&lt;li&gt;In the blank file, paste the content below, and then save the file (File -&gt; Save) and name it &lt;code class=&quot;language-text&quot;&gt;index.html&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;gatsby-highlight&quot; data-language=&quot;html&quot;&gt;&lt;pre class=&quot;language-html&quot;&gt;&lt;code class=&quot;language-html&quot;&gt;&lt;span class=&quot;token doctype&quot;&gt;&amp;lt;!DOCTYPE html&gt;&lt;/span&gt;

&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;lang&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&quot;&lt;/span&gt;en&lt;span class=&quot;token punctuation&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;meta&lt;/span&gt; &lt;span class=&quot;token attr-name&quot;&gt;charset&lt;/span&gt;&lt;span class=&quot;token attr-value&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&quot;&lt;/span&gt;utf-8&lt;span class=&quot;token punctuation&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;/&gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;title&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;Hello World&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;title&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;

  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
    &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;&lt;/span&gt;h1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;Hello World&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;h1&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
  &lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token tag&quot;&gt;&lt;span class=&quot;token punctuation&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Click on the Run button on the top menu to see what this would look like. It will open an inline browser.&lt;/li&gt;
&lt;li&gt;To open this example in a separate browser window, hit the “Pop Out in New Window” button in the top right.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;What’s Next&lt;/h2&gt;
&lt;p&gt;Now you have a fully functioning development environment setup using Ubuntu Server 18.04, that is accessible from any computer in the world via just a browser. You can use it to complete The Odin Project, or you can follow any tutorial online that expects you to have linux installed. Instead of typing in the commands in a terminal installed on your machine, you can type it in the browser.&lt;/p&gt;
&lt;p&gt;If you have access to a computer with admin privileges, I explore how we can use &lt;a href=&quot;https://code.visualstudio.com/&quot;&gt;Visual Studio Code&lt;/a&gt; to connect to this same environment in my &lt;a href=&quot;https://inssein.com/aws-cloud9-vs-code-remote/&quot;&gt;next blog post&lt;/a&gt;.&lt;/p&gt;</content:encoded></item><item><title><![CDATA[Web Development - Reducing the barriers to entry]]></title><description><![CDATA[A few of my friends recently decided that they wanted to try their hand at web development, and so began the barrage of questions: What…]]></description><link>https://inssein.com/web-development-reducing-barriers-to-entry/</link><guid isPermaLink="false">https://inssein.com/web-development-reducing-barriers-to-entry/</guid><pubDate>Sat, 18 Jan 2020 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;A few of my friends recently decided that they wanted to try their hand at web development, and so began the barrage of questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What material do you recommend I read?&lt;/li&gt;
&lt;li&gt;I have a really old computer, do I need a new one?&lt;/li&gt;
&lt;li&gt;Do I need to buy a MacBook?&lt;/li&gt;
&lt;li&gt;Can you help me setup a development environment?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This got me thinking about barriers to entry. One of the reasons I got to be where I am in my career was due to the existence of projects that dramatically lowered the barriers to entry for web development.&lt;/p&gt;
&lt;h2&gt;How I Started&lt;/h2&gt;
&lt;p&gt;When I was 12, my brother and I used to play a lot of Age of Empires: The Rise Of Rome. He was much better than me, but because of him, we got accepted into a &lt;a href=&quot;https://en.wikipedia.org/wiki/Video-gaming_clan&quot;&gt;clan&lt;/a&gt;. This clan didn’t have a website, and we sure enough weren’t about to pay someone to create a website, so I took it upon myself to figure it out.&lt;/p&gt;
&lt;p&gt;Fortunately for me, this was during the glory days of &lt;a href=&quot;https://en.wikipedia.org/wiki/Yahoo!_GeoCities&quot;&gt;GeoCities&lt;/a&gt;. Anybody could create and host a free website with very few clicks, and this got me hooked. I probably created a website for every clan I joined, even for all the Counter-Strike clans!&lt;/p&gt;
&lt;p&gt;Once I got a bit better, I quickly found new and better tools.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Companies offering free web hosting with direct FTP access, databases and languages pre-installed.&lt;/li&gt;
&lt;li&gt;I got “access” (cough) to tools like Microsoft FrontPage and Macromedia DreamWeaver.&lt;/li&gt;
&lt;li&gt;The explosion of PHP because it was free. I almost got into ColdFusion, but good thing it wasn’t free 😉.&lt;/li&gt;
&lt;li&gt;My dad worked at a place with access to fancy printers, and printed me a few books. One of them was about setting up an entire e-commerce system with PHP and MySQL.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Giving Back&lt;/h2&gt;
&lt;p&gt;In today’s age, we are actually at a place where the barrier to entry is probably lower, thanks to the existence of so many options, a lot of which are free for hobby projects or for learning. Unfortunately for people just starting to experiment, they are just drowning in the amount of information available.&lt;/p&gt;
&lt;p&gt;Thinking back to how I got hooked into web development, it was the powerful effect of changing one line of what I saw on the screen, saving it, and seeing the result of what I had just done.&lt;/p&gt;
&lt;p&gt;My goal with this blog is to try and lower the barrier to entry into web development.&lt;/p&gt;
&lt;h2&gt;The Odin Project&lt;/h2&gt;
&lt;p&gt;Recently, my top recommendation for folks who want to experiment with web development has been &lt;a href=&quot;https://www.theodinproject.com/&quot;&gt;The Odin Project&lt;/a&gt;. They have done an amazing job at putting together a free curriculum 👏. Here is the direct link to course &lt;a href=&quot;https://www.theodinproject.com/courses/web-development-101&quot;&gt;Web Development 101&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;From their website, here is a mini description of The Odin Project:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This is the website we wish we had when we were learning on our own. We scour the internet looking for only the best resources to supplement your learning and present them in a logical order.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The introduction of The Odin Project starts off with pre-requisites, specifically around your development environment, and they give you 3 choices:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Setup a virtual machine on your current computer.&lt;/li&gt;
&lt;li&gt;Dual boot windows / linux.&lt;/li&gt;
&lt;li&gt;Use Windows 10 WSL (Side note: WSL 2 is awesome!).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For a lot of folks who just wanted to try out web development, those are some daunting steps to go through. They wanted to learn web development, but they are about to spend a few days figuring out whether they can even get past the pre-requisites. There could be many arguments made that this is necessary to go through, as it gets harder from here, but I personally disagree. As I mentioned earlier, what got me hooked into web development was changing a few things in an html file, reloading, and seeing things appear on a screen. How do we get folks into that, with the lowest barrier to entry?&lt;/p&gt;
&lt;h2&gt;Lowering the Barrier to Entry&lt;/h2&gt;
&lt;p&gt;The lowest barrier to entry in my mind is access to a web browser. This allows someone to participate from a library, or if they have access to a computer without admin privileges.&lt;/p&gt;
&lt;p&gt;My current answer to this problem is to use AWS Cloud 9, and I have written a &lt;a href=&quot;https://inssein.com/cloud-based-ide/&quot;&gt;blog post&lt;/a&gt; about how you can set this up.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I recognize the irony in suggesting AWS in a blog post about lowering the barriers to entry, as you need a credit card to sign up, even for the free tier. When I started, I wouldn’t have been in the position to use this as well, but after doing more research, there is no better way to complete The Odin Project that I have come across. The only way to get a free AWS account today is through their &lt;a href=&quot;https://aws.amazon.com/education/awseducate/&quot;&gt;AWS Educate for Students&lt;/a&gt; program, which requires you be part of an educational institution. I will be emailing AWS to see if there are alternatives. If you come across something, please reach out!&lt;/p&gt;</content:encoded></item></channel></rss>