<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Databases on Mysterious Code - Senior AWS, DevOps &amp; security engineering</title><link>https://mysteriouscode.com/blog/category/databases/</link><description>Recent content in Databases on Mysterious Code - Senior AWS, DevOps &amp; security engineering</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sat, 03 Feb 2018 00:45:22 +0000</lastBuildDate><atom:link href="https://mysteriouscode.com/blog/category/databases/index.xml" rel="self" type="application/rss+xml"/><item><title>Cross-region RDS recovery: encryption and Aurora support</title><link>https://mysteriouscode.com/blog/cross-region-rds-recovery-encryption-and-aurora-support/</link><pubDate>Sat, 03 Feb 2018 00:45:22 +0000</pubDate><guid>https://mysteriouscode.com/blog/cross-region-rds-recovery-encryption-and-aurora-support/</guid><description>&lt;p&gt;After &lt;a href="https://mysteriouscode.com/blog/complete-code-cross-region-rds-recovery/"&gt;my previous post&lt;/a&gt; about a complete code for automated RDS
cross-region backup copy, some issues and new feature requests have been raised on GitHub (thanks for that!) - and with
your help, support for encrypted RDS instances and Aurora Clusters have now been added!&lt;/p&gt;</description></item><item><title>Complete code: cross-region RDS recovery</title><link>https://mysteriouscode.com/blog/complete-code-cross-region-rds-recovery/</link><pubDate>Thu, 28 Dec 2017 00:12:46 +0000</pubDate><guid>https://mysteriouscode.com/blog/complete-code-cross-region-rds-recovery/</guid><description>&lt;p&gt;After posting the previous post on this
topic (&lt;a href="https://mysteriouscode.com/blog/copying-rds-snapshot-to-another-region-for-cross-region-recovery/"&gt;Copying RDS snapshot to another region for cross-region recovery&lt;/a&gt;)
, I noticed a lot of people being interested in using the code I provided as an example. Many were not sure how to make
use of it, and
after &lt;a href="https://github.com/pbudzon/aws-maintenance/pulls?utf8=%E2%9C%93&amp;amp;q=is%3Apr"&gt;a couple of pull requests&lt;/a&gt; it became
obvious that a complete, fully-working code and CloudFormation template would be a good idea. So, yesterday, I pushed an
update to &lt;a href="https://github.com/pbudzon/aws-maintenance/"&gt;aws-maintenance&lt;/a&gt; repository with a fully working code, which you
can easily customize via CloudFormation parameters to match your needs.&lt;/p&gt;</description></item><item><title>How to tag Redshift clusters (and others) in one place in AWS Console</title><link>https://mysteriouscode.com/blog/how-to-tag-redshift-clusters-and-others-in-one-place-in-aws-console/</link><pubDate>Fri, 03 Feb 2017 10:00:18 +0000</pubDate><guid>https://mysteriouscode.com/blog/how-to-tag-redshift-clusters-and-others-in-one-place-in-aws-console/</guid><description>&lt;p&gt;Management page of Redshift in AWS Console does not currently allow you to add or modify tags on your clusters. That
doesn&amp;rsquo;t mean that Redshift resources cannot be tagged - almost everything from clusters to parameters groups can be
tagged through the Tag Editor.&lt;/p&gt;</description></item><item><title>Adding more nodes to Redshift cluster doesn't always mean you get more space</title><link>https://mysteriouscode.com/blog/adding-more-nodes-to-redshift-cluster-doesnt-always-mean-you-get-more-space/</link><pubDate>Fri, 13 Jan 2017 17:33:03 +0000</pubDate><guid>https://mysteriouscode.com/blog/adding-more-nodes-to-redshift-cluster-doesnt-always-mean-you-get-more-space/</guid><description>&lt;p&gt;AWS Redshift is a big data storage (&amp;ldquo;data warehousing&amp;rdquo;) solution for analytics. Based on PostgreSQL 8, it can combine up
to 128 largest nodes, giving you 2 petabytes for your data. Well, almost. You don&amp;rsquo;t get ALL that for your data.&lt;/p&gt;
&lt;figure class="blog-img-max"&gt;&lt;img src="https://mysteriouscode.com/images/blog/2017/01/redshiftpic_hu_564941bbfe012838.png" srcset="https://mysteriouscode.com/images/blog/2017/01/redshiftpic_hu_5f70c5e4a4ca6634.webp 320w, https://mysteriouscode.com/images/blog/2017/01/redshiftpic_hu_7b932dbe59417e93.webp 640w, https://mysteriouscode.com/images/blog/2017/01/redshiftpic_hu_19c050d9b6653304.webp 960w, https://mysteriouscode.com/images/blog/2017/01/redshiftpic_hu_d09ffec6459d17ff.webp 1024w" sizes="(max-width: 800px) 100vw, 800px" loading="lazy"&gt;&lt;/figure&gt;</description></item><item><title>Copying RDS snapshot to another region for cross-region recovery</title><link>https://mysteriouscode.com/blog/copying-rds-snapshot-to-another-region-for-cross-region-recovery/</link><pubDate>Fri, 21 Oct 2016 10:00:17 +0000</pubDate><guid>https://mysteriouscode.com/blog/copying-rds-snapshot-to-another-region-for-cross-region-recovery/</guid><description>&lt;p&gt;&lt;strong&gt;For an updated ready-to-use CloudFormation template of this code, see newer
post: &lt;a href="https://mysteriouscode.com/blog/complete-code-cross-region-rds-recovery/"&gt;Complete code: cross-region RDS recovery&lt;/a&gt;&lt;/strong&gt;
.&lt;/p&gt;
&lt;p&gt;Amazon RDS is a great database-as-a-service, which takes care of almost all database-related maintenance tasks for you -
everything from automated backups and patching to replication and fail-overs into another availability zones.&lt;/p&gt;
&lt;p&gt;Unfortunately all of this fails if the region where your RDS is hosted fails. Region-wide failures are very
rare, &lt;a href="https://aws.amazon.com/message/67457/"&gt;but they do happen&lt;/a&gt;! RDS does not support cross-region replication at the
moment, so you cannot simply create a replica of your database in another region (unless you host the database on an EC2
instance and set up the replication yourself). The second-best option, to make sure you can restore your service quickly
in another region, is to always have a copy of your latest database backup in that region. In case of RDS, that can mean
copying automated snapshots. There is no option for AWS to do it automatically, but it can be easily scripted with AWS
Lambda functions.&lt;/p&gt;</description></item></channel></rss>