Merge remote-tracking branch 'upstream/master' into new-design
This commit is contained in:
commit
62c9a80589
2 changed files with 158 additions and 0 deletions
|
@ -0,0 +1,84 @@
|
||||||
|
title: How to store your data without CO2 emission
|
||||||
|
---
|
||||||
|
pub_date: 2019-11-20
|
||||||
|
---
|
||||||
|
author: ungleich
|
||||||
|
---
|
||||||
|
twitter_handle: ungleich
|
||||||
|
---
|
||||||
|
_hidden: no
|
||||||
|
---
|
||||||
|
_discoverable: yes
|
||||||
|
---
|
||||||
|
abstract:
|
||||||
|
Avoiding CO2 emissions in data storage is a daily task, too
|
||||||
|
---
|
||||||
|
body:
|
||||||
|
|
||||||
|
When we talk about climate change or sustainability, we usually think
|
||||||
|
about factories or cars. What we usually don't anticipate is how much
|
||||||
|
we actually contribute to the climate change by our digital behaviour.
|
||||||
|
|
||||||
|
## How data is stored
|
||||||
|
|
||||||
|
Your data is usually stored in one of the many data centers in the
|
||||||
|
world. To save your data, multiple disk or even multiple servers are
|
||||||
|
used to ensure that your data is safely stored.
|
||||||
|
|
||||||
|
When you open up your mobile phone to browse pictures or to read your
|
||||||
|
email, you access the servers to retrieve your data.
|
||||||
|
|
||||||
|
## How data centers are operated
|
||||||
|
|
||||||
|
Most data centers use energy from the grid. This energy can be either
|
||||||
|
produced by coal, nuclear power or renewable energy. Unfortunately,
|
||||||
|
most of them don't run on renewable energy. Some do buy CO2
|
||||||
|
certificates to compensate this fact.
|
||||||
|
|
||||||
|
Energy in a data center is spent on one side for actually running the
|
||||||
|
servers that store your data and on cooling on the other hand. The
|
||||||
|
amount of energy used for cooling can be quite significant, too.
|
||||||
|
|
||||||
|
So even if you are living a very green and sustainable way, you might
|
||||||
|
be contributing to CO2 emissions by using your default data storage.
|
||||||
|
|
||||||
|
## An alternative: the sustainable way of saving data
|
||||||
|
|
||||||
|
So how can we tackle this situation?
|
||||||
|
We have worked hard here in Switzerland to create the [Data Center
|
||||||
|
Light](https://datacenterlight.ch), a complete alternative
|
||||||
|
approach to save as much CO2 emissions, as possible.
|
||||||
|
|
||||||
|
And this is how it is done:
|
||||||
|
|
||||||
|
* instead of buying certificates, we use 100% renewable energy
|
||||||
|
* instead of buying energy, we produce it locally (using PV and a
|
||||||
|
local hydro power plant)
|
||||||
|
* instead of building new data centers, we modernise existing factory
|
||||||
|
halls
|
||||||
|
* instead of buying new servers, we buy 2nd hand (with new disks/ssds)
|
||||||
|
|
||||||
|
## The sustainable data center
|
||||||
|
|
||||||
|
With this approach, there is practically no CO2 emission from power
|
||||||
|
consumption and also the grey energy is minimised. The team of
|
||||||
|
[ungleich](https://ungleich.ch) is very proud to offer a variety of
|
||||||
|
products that are built with sustainability in mind:
|
||||||
|
|
||||||
|
* [Sustainable Data Storage: Glarnercloud](https://ungleich.ch/en-us/cms/glarnercloud/)
|
||||||
|
* [Sustainable Virtual Private Servers: Data Center Light](https://datacenterlight.ch)
|
||||||
|
* [Sustainable IPv6 only VPS: IPv6 Only Hosting](https://ipv6onlyhosting.com/)
|
||||||
|
* [Sustainable IPv6 VPNs: IPv6VPN](https://ipv6vpn.ch)
|
||||||
|
* [Sustainable IPv6 Backup](https://ungleich.ch/en-us/cms/ipv6-backup/)
|
||||||
|
|
||||||
|
In our opinion, we can only reach sustainability, if we take actions
|
||||||
|
in all fields of our daily life.
|
||||||
|
|
||||||
|
In case you are looking for an affordable way of testing the products,
|
||||||
|
you should not miss the [Black IPv6
|
||||||
|
Friday](https://swiss-crowdfunder.com/campaigns/black-ipv6-friday?locale=en),
|
||||||
|
which has *up to 50% discount on the products*.
|
||||||
|
|
||||||
|
If you have any questions or comemnts, you can reach us at
|
||||||
|
**sustainability at ungleich.ch** or in the [ungleich
|
||||||
|
chat](https://chat.ungleich.ch).
|
|
@ -0,0 +1,74 @@
|
||||||
|
title: How to run world reachable docker containers on your notebook
|
||||||
|
---
|
||||||
|
pub_date: 2019-11-20
|
||||||
|
---
|
||||||
|
author: Nico Schottelius
|
||||||
|
---
|
||||||
|
twitter_handle: NicoSchottelius
|
||||||
|
---
|
||||||
|
_hidden: no
|
||||||
|
---
|
||||||
|
_discoverable: yes
|
||||||
|
---
|
||||||
|
abstract:
|
||||||
|
With IPv6, you can do so many things faster than before
|
||||||
|
---
|
||||||
|
body:
|
||||||
|
|
||||||
|
Today [Alain](https://github.com/munen/)
|
||||||
|
from [200ok](https://200ok.ch/) and me were hacking in the
|
||||||
|
[Hacking Hotel Diesbach](https://hack.digitalglarus.ch/) and found an
|
||||||
|
interesting problem: the docker containers on Alain's notebook did not
|
||||||
|
reach the Internet.
|
||||||
|
|
||||||
|
## IPv6 only networks
|
||||||
|
|
||||||
|
It turns out that here in the Hacking Hotel, we are in an IPv6 only
|
||||||
|
network and docker by default assigns IPv4 addresses to
|
||||||
|
containers. This obviously does not work, because there is no IPv4
|
||||||
|
connectivity in an IPv6 only network...
|
||||||
|
|
||||||
|
## Turning the problem into a feature
|
||||||
|
|
||||||
|
...being in the Hacking Hotel means being inside the
|
||||||
|
*2a0a:e5c0:10::/48* network. The nice thing about IPv6 is that you
|
||||||
|
have a lot of space. With the /48 network, we have around 65'536 /64
|
||||||
|
sub networks. But enough from the IPv6 love...
|
||||||
|
|
||||||
|
... what this means is that we can just route a /64 network to Alain's
|
||||||
|
notebook and reconfigure his docker daemon to use IPv6 instead of
|
||||||
|
IPv4. Simply creating the **/etc/docker/daemon.json** with the
|
||||||
|
following content is enough:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"ipv6": true,
|
||||||
|
"fixed-cidr-v6": "2a0a:e5c0:10:f00::/64"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
This is great, as long as we work in the Hacking Hotel...
|
||||||
|
|
||||||
|
## And turning it into a demo ready state
|
||||||
|
|
||||||
|
The problem with our solution above is that the network is only routed
|
||||||
|
to his notebook, when he is in the Hacking Hotel and it will not work
|
||||||
|
outside.
|
||||||
|
|
||||||
|
Alain also has a VPN from [IPv6VPN.ch](https://IPv6VPN.ch) that
|
||||||
|
gives him a static /48 network to his notebook. Now we selected a
|
||||||
|
/64 subnet and what does it give?
|
||||||
|
|
||||||
|
**World wide reachable docker containers** on a notebook!
|
||||||
|
|
||||||
|
Isn't that sweet? Given the right firewall settings, the containers
|
||||||
|
can now be reached from anywhere in the world. From a notebook, which
|
||||||
|
can be anywhere else in the world.
|
||||||
|
|
||||||
|
## More of this
|
||||||
|
|
||||||
|
If you like hacking with IPv6, or to reproduce the docker setup above,
|
||||||
|
you are invited to join the [IPv6 Chat](https://IPv6.chat)
|
||||||
|
or to get yourself a 50% off deal on the [Black IPv6
|
||||||
|
Friday](https://swiss-crowdfunder.com/campaigns/black-ipv6-friday?locale=en)
|
||||||
|
campaign.
|
Loading…
Reference in a new issue