<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AWS on Opslifeuk Limited</title><link>https://opslife.co.uk/tags/aws/</link><description>Recent content in AWS on Opslifeuk Limited</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Tue, 09 Jun 2020 22:49:25 +0100</lastBuildDate><atom:link href="https://opslife.co.uk/tags/aws/index.xml" rel="self" type="application/rss+xml"/><item><title>Static website hosting using S3 and CloudFront</title><link>https://opslife.co.uk/aws/static/</link><pubDate>Tue, 09 Jun 2020 22:49:25 +0100</pubDate><guid>https://opslife.co.uk/aws/static/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A note on dates:&lt;/strong&gt; this post was written in 2020 using Terraform 0.12 and the
&lt;code&gt;nodejs12.x&lt;/code&gt; Lambda runtime. The architecture still holds up well, but if you&amp;rsquo;re
following along today, check the current AWS provider docs and use a supported
Lambda runtime and Terraform version. In particular, the &lt;code&gt;aws_s3_bucket&lt;/code&gt;
resource has since been split into smaller resources (&lt;code&gt;aws_s3_bucket_acl&lt;/code&gt;,
&lt;code&gt;aws_s3_bucket_logging&lt;/code&gt;, &lt;code&gt;aws_s3_bucket_website_configuration&lt;/code&gt; and so on).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Recently I had the chance to create a static website using &lt;a href="https://aws.amazon.com/s3/"&gt;S3&lt;/a&gt; and &lt;a href="https://aws.amazon.com/cloudfront/"&gt;CloudFront&lt;/a&gt;. I used &lt;a href="https://gohugo.io"&gt;Hugo&lt;/a&gt; as the framework for content management and &lt;a href="https://www.terraform.io/docs/index.html"&gt;Terraform&lt;/a&gt; to provision the infrastructure. There were a few interesting challenges, but in the end it worked out well.&lt;/p&gt;</description></item><item><title>Building APIs with Amazon API Gateway</title><link>https://opslife.co.uk/talks/api/</link><pubDate>Sun, 07 Jun 2020 00:49:21 +0100</pubDate><guid>https://opslife.co.uk/talks/api/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
			&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/XwfpPEFHKtQ?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
		&lt;/div&gt;

&lt;p&gt;In this talk, Chris Munns walks through building APIs with &lt;strong&gt;Amazon API
Gateway&lt;/strong&gt; - covering how it fits into a serverless architecture, the design
choices you&amp;rsquo;ll face, and how to operate APIs in production. A solid primer if
you&amp;rsquo;re putting an API Gateway in front of Lambda or your own backends.&lt;/p&gt;</description></item><item><title>Encrypting Secrets in Amazon EKS</title><link>https://opslife.co.uk/talks/secrets/</link><pubDate>Sun, 07 Jun 2020 00:24:41 +0100</pubDate><guid>https://opslife.co.uk/talks/secrets/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
			&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/d21JrnszG7Y?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
		&lt;/div&gt;

&lt;p&gt;In this talk, Paavan Mistry explains how to encrypt Kubernetes secrets at rest
in &lt;strong&gt;etcd&lt;/strong&gt; on Amazon EKS. By default, Kubernetes stores secrets only
base64-encoded - not encrypted - so anyone who gains access to the API server
or to etcd can read them in the clear. The talk shows how to use &lt;strong&gt;AWS KMS
envelope encryption&lt;/strong&gt; to protect secrets at rest, which is an easy win for
anyone running EKS in production.&lt;/p&gt;</description></item></channel></rss>