You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.9 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="/assets/css/style.css?v=96e407dbfef5e6ab83daa6dca716c304bdc64c14">
<link rel="stylesheet" type="text/css" href="/assets/css/print.css" media="print">
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Begin Jekyll SEO tag v2.5.0 -->
<title>Hosting static sites on S3 | josiah ledbetter</title>
<meta name="generator" content="Jekyll v3.7.4" />
<meta property="og:title" content="Hosting static sites on S3" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Hosting static sites on S3" />
<meta property="og:description" content="Hosting static sites on S3" />
<link rel="canonical" href="http://localhost:4000/projects/2019/04/15/hosting_static_sites_on_s3.html" />
<meta property="og:url" content="http://localhost:4000/projects/2019/04/15/hosting_static_sites_on_s3.html" />
<meta property="og:site_name" content="josiah ledbetter" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2019-04-15T00:00:00-05:00" />
<script type="application/ld+json">
{"description":"Hosting static sites on S3","@type":"BlogPosting","url":"http://localhost:4000/projects/2019/04/15/hosting_static_sites_on_s3.html","headline":"Hosting static sites on S3","dateModified":"2019-04-15T00:00:00-05:00","datePublished":"2019-04-15T00:00:00-05:00","mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/projects/2019/04/15/hosting_static_sites_on_s3.html"},"@context":"http://schema.org"}</script>
<!-- End Jekyll SEO tag -->
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1>josiah ledbetter</h1>
</header>
<section id="downloads" class="clearfix">
</section>
<hr>
<section id="main_content">
<h1 id="hosting-static-sites-on-s3">Hosting static sites on S3</h1>
<p>Turns out this was pretty straightforward. The steps are basically:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>* decide on a dns name for your static page
* create an S3 bucket using that name (bullshit.jowj.net)
* upload at least one file to your bucket
* change bucket to enable hosting static pages (ensure you set the file you uploaded to be your index)
* copy fully qied aws name of endpoint and point cname (bullshit) to that endpoint
* boom done.
</code></pre></div></div>
<p>Id had this as a “thing to do” for forever, but I guess I thought itd be more involved. this was just really straight forward.</p>
</section>
<footer>
</footer>
</div>
</div>
</body>
</html>