Skip to content

Create an Amazon Linux AWS Image #1

@cguess

Description

@cguess

Running this on a Raspberry Pi is convenient, but also very very slow. So far we've been doing this because f***book blocks certain IP addresses (like AWS, and probably most other cloud providers), so running this software directly on an AWS instance would fail.

However, we don't actually need to run this at home, as long as it looks like we are, like a VPN. Luckily, setting up a Wireguard VPN is pretty damn easy and is performant on a PI. There's even an entire project just for this https://pivpn.io.

So instead, we want to create an AWS image that we can run that sets up a desktop, with VNC so we can see, and Chrome installed, and boots up Zorki automatically. Eventually we'll want it to announce itself to some sort of control system so we can know it's online and Zenodotus can automatically use it on boot. But that comes later.

  • Boot AWS up
  • Install desktop, minimal (we don't need Thunderbird or LibreOffice on it, as nice as those pieces of software are)
  • Install Chrome
  • Make sure you can VNC in
  • Install Wireguard as a client
  • Boot a Pi with PiVPN and get the credentials up, put them in some management somewhere
  • Get Wireguard to load on boot for the Pi
  • Get Wireguard to load on boot for the AWS image
  • Get Zorki to run on the AWS image so that all the test pass using Wireguard
  • We'll probably want to use something like PageKite to tunnel into the image so that making calls to the server don't interact with the Wireguard setup

Eventually there's a lot of other stuff, but this will be fine for demoing purposes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions