Contrary to the guide, do this instead
the gateway is in the /56 network but so you have to get your ip in there.
Edit: /etc/netplan/50-cloud-init.yaml
# This file is generated from information provided by the datasource. Changes| package org.scalatra.commands | |
| import org.scalatra.DefaultValue | |
| import org.scalatra.util.conversion.TypeConverter | |
| abstract class ForwardingFieldDescriptor[T](delegate: FieldDescriptor[T]) extends FieldDescriptor[T] { | |
| protected def copy(newDelegate: FieldDescriptor[T]): ForwardingFieldDescriptor[T] | |
| override def name = delegate.name |
| import sbt._ | |
| import Keys._ | |
| import com.github.siasia._ | |
| import WebPlugin._ | |
| import WebappPlugin._ | |
| import PluginKeys._ | |
| object WebAppWithJetty extends Build { | |
| lazy val root = Project( |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| package mojolly.io | |
| import org.jboss.netty.bootstrap.ClientBootstrap | |
| import org.jboss.netty.channel._ | |
| import socket.nio.NioClientSocketChannelFactory | |
| import java.util.concurrent.Executors | |
| import org.jboss.netty.handler.codec.http._ | |
| import collection.JavaConversions._ | |
| import websocketx._ | |
| import java.net.{InetSocketAddress, URI} |
| package com.mojolly.backchat | |
| package redis | |
| package resque | |
| import com.mojolly.backchat.redis.resque.Resque.{ResqueWorkerActor} | |
| import net.liftweb.json._ | |
| import JsonAST._ | |
| import JsonDSL._ | |
| import java.net.InetAddress | |
| import com.redis.ds.{ RedisDeque, RedisDequeClient } |
| #!/bin/bash | |
| # Authorize TCP, SSH & ICMP for default Security Group | |
| #ec2-authorize default -P icmp -t -1:-1 -s 0.0.0.0/0 | |
| #ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0 | |
| # The Static IP Address for this instance: | |
| IP_ADDRESS=$(cat ~/.ec2/ip_address) | |
| # Create new t1.micro instance using ami-cef405a7 (64 bit Ubuntu Server 10.10 Maverick Meerkat) |