aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpike <avlampson+git@gmail.com>2019-05-09 10:46:41 +0100
committerSpike <avlampson+git@gmail.com>2019-05-09 10:46:41 +0100
commit0f08dc4f1ed2ca477962b0cca9660fdc1cdb8879 (patch)
treee3fd02e4d859022abc2876ea6331a0ba80263cce
parent8fa2b28dac1e38889bb7196e2002992cdb9d7e7b (diff)
downloadsensyne_demo-0f08dc4f1ed2ca477962b0cca9660fdc1cdb8879.zip
sensyne_demo-0f08dc4f1ed2ca477962b0cca9660fdc1cdb8879.tar.gz
sensyne_demo-0f08dc4f1ed2ca477962b0cca9660fdc1cdb8879.tar.bz2
Adding notes to initial statement
-rw-r--r--.gitignore3
-rw-r--r--README.md16
-rw-r--r--notes/design.tex26
-rw-r--r--notes/texput.log21
-rwxr-xr-xterraform/.terraform/plugins/linux_amd64/lock.json3
-rwxr-xr-xterraform/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.9.0_x4bin140368096 -> 0 bytes
6 files changed, 66 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0128173
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tfstate
+*.swp
+.terraform/*
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..804084d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
+## DevOps Engineer - Tech Test
+
+### Instructions
+
+We believe in `infrastructure as code` and automation of deployments. We would like you to demonstrate your understanding and use of modern automated infrastructure and sysadmin. To demonstate this, your goal is to provision a simple web application of your choice that has a backend and database store (write a simple app or use an off-the-shelf set of Docker images). Create an orchestrated cluster of nodes using any provisioning tool of your choice and deploy the application using an orchestration layer (e.g. Docker Swarm, Kubernetes, etc) to scale the application.
+
+### Solution notes
+
+* In the solution please provide clear instructions that allow us to replicate the solution from scratch.
+* As an infrastructure provider, use GCP, AWS or any other provider you're familier with.
+* Commit often to show work in progress rather than one big push. Trial-and-error is allowed and encouraged.
+* The web application does not have to delivery any particular functionality. What we are testing is the ability to compose an application and database layer in a correct fashion, even if they do not talk to each other in any interesting way.
+
+### Submitting
+
+* Put your solution in a public Github repo and send a link. Include a clear README with installation instructions.
diff --git a/notes/design.tex b/notes/design.tex
new file mode 100644
index 0000000..6dabfd3
--- /dev/null
+++ b/notes/design.tex
@@ -0,0 +1,26 @@
+\documentclass[a4paper]{article}
+
+\title{Sensyne Tech Test\\ Notes and explainations}
+\date{\today}
+\author{Spike Lampson}
+
+
+\begin{document}
+
+\maketitle
+\toc
+
+\section{Initial design}
+
+Requirements are: Simple web app, with backend and database, deployed on a cluster of nodes via an orchestration layer. Expectation: Couple of hours, which seems very hopeful for setting up a project at all, let alone finishing it to me. Still, what to do.
+
+Initial plan: Create in terraform/AWS. Find basic docker webapp container, deploy that onto EKS, with RDS instance as the backend.
+
+Things to check:
+\begin{enumerate}
+\item How much VPC/IG/routing etc still needs to be done by hand
+\item Does EKS handle the loadbalancer?
+\item Find basic docker container
+\end{enumerate}
+
+
diff --git a/notes/texput.log b/notes/texput.log
new file mode 100644
index 0000000..36848f8
--- /dev/null
+++ b/notes/texput.log
@@ -0,0 +1,21 @@
+This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex 2019.5.7) 9 MAY 2019 09:46
+entering extended mode
+ restricted \write18 enabled.
+ %&-line parsing enabled.
+**design.tex
+
+! Emergency stop.
+<*> design.tex
+
+End of file on the terminal!
+
+
+Here is how much of TeX's memory you used:
+ 3 strings out of 494562
+ 116 string characters out of 6177481
+ 51987 words of memory out of 5000000
+ 3767 multiletter control sequences out of 15000+600000
+ 3640 words of font info for 14 fonts, out of 8000000 for 9000
+ 14 hyphenation exceptions out of 8191
+ 0i,0n,0p,13b,6s stack positions out of 5000i,500n,10000p,200000b,80000s
+No pages of output.
diff --git a/terraform/.terraform/plugins/linux_amd64/lock.json b/terraform/.terraform/plugins/linux_amd64/lock.json
deleted file mode 100755
index e7023c3..0000000
--- a/terraform/.terraform/plugins/linux_amd64/lock.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "aws": "87f2c091e0aeee8c4680cf58d5f0f8005cf3079a212997a9ab5b2c2d2769bfb3"
-} \ No newline at end of file
diff --git a/terraform/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.9.0_x4 b/terraform/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.9.0_x4
deleted file mode 100755
index d187655..0000000
--- a/terraform/.terraform/plugins/linux_amd64/terraform-provider-aws_v2.9.0_x4
+++ /dev/null
Binary files differ