Both things have been introduced recently, and let you access even private ec2 instances
- Without VPN
- No open SSH port
- Authentication / Authorization is fully delegated to IAM
# Assumes valid AWS Credentials in ENV
from __future__ import annotations | |
from typing import ( | |
Any, | |
Awaitable, | |
Callable, | |
Iterable, | |
Literal, | |
Mapping, | |
ParamSpec, |
Both things have been introduced recently, and let you access even private ec2 instances
# Assumes valid AWS Credentials in ENV
Host rpi1 | |
HostName raspberrypi1.local | |
User pi | |
Host rpi2 | |
HostName raspberrypi2.local | |
User pi |
Create a template service file at /etc/systemd/system/[email protected]
. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target
Introduction | |
============ | |
Futoshiki (不等式, meaning “inequality”) is a Japanese logic puzzle similar to | |
Sudoku and the like. Numbers from 1 to n must be placed on an n-by-n grid | |
(which usually already contains some values) such that each row and each column | |
is a permutation of `[1..n]`. Additionally, less-than or greater-than signs are | |
placed between cells, constraining their mutual ordering. | |
An example puzzle looks like this: |
# install pip & virtualenv | |
# create a virtual environment for your webapp | |
# install django in the new virtualenv | |
cd ~/tmp | |
PYVE=2.7 | |
PYVER=2.7.3 | |
STVER=0.6c11 | |
# go directly to the source to get the latest and greatest | |
wget http://pypi.python.org/packages/$PYVE/s/setuptools/setuptools-$STVER-py$PYVE.egg#md5=fe1f997bc722265116870bc7919059ea |