-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
212 lines (190 loc) · 9 KB
/
index.html
File metadata and controls
212 lines (190 loc) · 9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html>
<title>Simply Serverless</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3-theme-blue-grey.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<style>
html,body,h1,h2,h3,h4,h5,h6 {font-family: "Roboto", sans-serif}
.w3-sidenav a,.w3-sidenav h4{padding:12px;}
.w3-navbar a{padding-top:12px !important;padding-bottom:12px !important;}
</style>
<body>
<!-- Navbar -->
<ul class="w3-navbar w3-theme w3-top w3-left-align w3-large" style="z-index:4;">
<li class="w3-opennav w3-right w3-hide-large">
<a class="w3-hover-white w3-large w3-theme-l1" href="javascript:void(0)" onclick="w3_open()"><i class="fa fa-bars"></i></a>
</li>
<li><a href="index.html" class="w3-theme-l1">Home</a></li>
<li class="w3-hide-small"><a href="staticsites.html" class="w3-hover-white">Static Sites</a></li>
<li class="w3-hide-small"><a href="functions.html" class="w3-hover-white">Functions</a></li>
<li class="w3-hide-small"><a href="backends.html" class="w3-hover-white">Backends</a></li>
<li class="w3-hide-medium w3-hide-small"><a href="contact.html" class="w3-hover-white">Contact</a></li>
</ul>
<!-- Sidenav -->
<nav class="w3-sidenav w3-collapse w3-theme-l5 w3-animate-left" style="z-index:3;width:250px;margin-top:51px;" id="mySidenav">
<a href="javascript:void(0)" onclick="w3_close()" class="w3-right w3-xlarge w3-padding-large w3-hover-black w3-hide-large" title="close menu">
<i class="fa fa-remove"></i>
</a>
<h4><b>Menu</b></h4>
<a href="index.html" class="w3-hover-black">Home</a>
<a href="staticsites.html" class="w3-hover-black">Static Sites</a>
<a href="functions.html" class="w3-hover-black">Functions</a>
<a href="backends.html" class="w3-hover-black">Backends</a>
<a href="contact.html" class="w3-hover-black">Contact</a>
</nav>
<!-- Overlay effect when opening sidenav on small screens -->
<div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- Main content: shift it to the right by 250 pixels when the sidenav is visible -->
<div class="w3-main" style="margin-left:250px">
<div class="w3-row w3-padding-64">
<div class="w3-twothird w3-container">
<h1 class="w3-text-teal">Welcome!</h1>
<p>Welcome to Simply Serverless. This site aims to be a hub from which you can learn to create and manage exciting and dynamic websites on Amazon AWS, Google Cloud or Microsoft Azure. .</p>
</div>
<div class="w3-third w3-container">
<p class="w3-border w3-padding-large w3-padding-32 w3-center">AD</p>
<p class="w3-border w3-padding-large w3-padding-64 w3-center">AD</p>
</div>
</div>
<div class="w3-row">
<div class="w3-twothird w3-container">
<h1 class="w3-text-teal">Anatomy of a Serverless Website</h1>
<p>There are many things you can build using serverless technologies. We're going to look at building a complex dynamic website. You can then pick and choose the components you need to utilise for your project.</p>
<h2 class="w3-text-teal">Offerings</h2>
Let's look at the big three Amazon AWS, Google Cloud And Microsoft Azure.
<table class="w3-table-all">
<thead>
<tr>
<th>Generic Capability</th><th>Amazon AWS</th><th>Google Cloud</th><th>Microsoft Azure</th><th>IBM BlueMix</th>
</tr>
</thead>
<tbody>
<tr>
<th>Static Storage</th>
<td>S3</td>
<td>Cloud Storage</td>
<td>Azure Storage</td>
<td>Object Storage</td>
</tr>
<tr>
<th>DNS</th>
<td>Route 53</td>
<td>Public DNS</td>
<td>Azure DNS</td>
<td></td>
</tr>
<tr>
<th>Microservices</th>
<td>Lambda</td>
<td>Functions</td>
<td>Functions</td>
<td>OpenWhisk</td>
</tr>
<tr>
<th>API management</th>
<td>API Gateway</td>
<td>Cloud Endpoints</td>
<td>API Management</td>
</tr>
<tr>
<th>CDN</th>
<td>Cloudfront</td>
<td>Cloud CDN</td>
<td>Azure CDN</td>
</tr>
<tr>
<th>Persistence</th>
<td>DynamoDB</td>
<td>DataStore</td>
<td>DocumentDB</td>
</tr>
<tr>
<th>Logging</th>
<td>CloudWatch</td>
<td>Cloud Logging</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="w3-third w3-container">
<p class="w3-border w3-padding-large w3-padding-32 w3-center">AD</p>
<p class="w3-border w3-padding-large w3-padding-64 w3-center">AD</p>
</div>
</div>
<div class="w3-row w3-padding-64">
<div class="w3-twothird w3-container">
<h1 class="w3-text-teal">Pets, Cattle and Swarms</h1>
<p>The internet age can be loosely defined as having three ages - we'll look at each and see how development practices have evolved to the swarm.
<a href="http://www.slideshare.net/gmccance/cern-data-centre-evolution">This paper</a> from <a href="https://home.cern/">CERN</a> (the birthplace of the Web) seems to have originated the naming strategy</p>
<h2 class="w3-text-teal">The Age of Pets (1960s - 2013)</h2>
<p>Eary internet servers were well known. They may have sat under your desk, or in a rack in a nearby building. You knew what machines ran what services and if a machine broke the service went away until you lovingly replaced the faulty memory, disk or what ever.
People really cared about those machines!</p>
<h2 class="w3-text-teal">The Age of Cattle (2013 - 2016)</h2>
<p>The big problem with lovingly caring about your pets is that it does not scale well. If you have hundreds or thousands of servers then on the law of averages you'll have some that are poorly (or dead!). If you wish to tend them all you'll be very busy.
The battle cry went out to "treat them as cattle not pets!" The basic idea here is to script the build and deployment of the servers. if one is unwell, kill it off and bring up another with the same configuration.
A lot of software emerged to enable this automation of infrastructure, cf <a href="https://www.chef.io/chef/">Chef</a>, <a href="Puppet">Puppet</a> and <a href="https://www.ansible.com/">Ansible</a></p>
<h2 class="w3-text-teal">The Age of the Swarm (2016 - ??)</h2>
<p>Now we're looking at the datacentre as the computer. Your functions can be run across many machines, without you needing to be aware of the issues involved in scaling it out, mitigating against failure etc. (Well, almost)</p>
</div>
<!--
<div class="w3-third w3-container">
<p class="w3-border w3-padding-large w3-padding-32 w3-center">AD</p>
<p class="w3-border w3-padding-large w3-padding-64 w3-center">AD</p>
</div>
-->
</div>
<!-- Pagination -->
<div class="w3-center w3-padding-64">
<ul class="w3-pagination">
<li><a class="w3-black" href="index.html">1</a></li>
<li><a class="w3-hover-black" href="staticsites.html">2</a></li>
<li><a class="w3-hover-black" href="functions.html">3</a></li>
<li><a class="w3-hover-black w3-hide-small" href="backends.html">4</a></li>
<li><a class="w3-hover-black w3-hide-small" href="contact.html">5</a></li>
</ul>
</div>
<footer id="myFooter">
<div class="w3-container w3-theme-l2 w3-padding-32">
<h4></h4>
</div>
<div class="w3-container w3-theme-l1">
<p>Powered by <a href="http://www.w3schools.com/w3css/default.asp" target="_blank">w3.css</a></p>
</div>
</footer>
<!-- END MAIN -->
</div>
<script>
// Get the Sidenav
var mySidenav = document.getElementById("mySidenav");
// Get the DIV with overlay effect
var overlayBg = document.getElementById("myOverlay");
// Toggle between showing and hiding the sidenav, and add overlay effect
function w3_open() {
if (mySidenav.style.display === 'block') {
mySidenav.style.display = 'none';
overlayBg.style.display = "none";
} else {
mySidenav.style.display = 'block';
overlayBg.style.display = "block";
}
}
// Close the sidenav with the close button
function w3_close() {
mySidenav.style.display = "none";
overlayBg.style.display = "none";
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-84008767-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>