forked from cloudacademy/aws-developer-fundamentals
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eric Magalhães
authored and
Eric Magalhães
committed
Jan 14, 2016
1 parent
4f7b901
commit f24252c
Showing
5 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: 1.0 | ||
os: linux | ||
files: | ||
- source: /index.html | ||
destination: /var/www/html/ | ||
hooks: | ||
ApplicationStop: | ||
- location: scripts/stop_server.sh | ||
timeout: 300 | ||
runas: root | ||
BeforeInstall: | ||
- location: scripts/install_apache.sh | ||
timeout: 300 | ||
runas: root | ||
ApplicationStart: | ||
- location: scripts/start_server.sh | ||
timeout: 300 | ||
runas: root | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | ||
<title>AWS Developer Fundamentals</title> | ||
|
||
<!-- Bootstrap --> | ||
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.6/simplex/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
<style type="text/css"> | ||
|
||
.intro { | ||
height: 100%; | ||
padding-top: 150px; | ||
text-align: center; | ||
} | ||
|
||
body { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
html { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<section class="intro"> | ||
<img src="http://static.comicvine.com/uploads/original/4/47738/1631280-doc_brown_full.jpg" class="img-circle img-thumbnail"> | ||
<h1>Great Scott!</h1> | ||
<p>You have successfully deployed this page with CodeDeploy.</p> | ||
<div class="row"> | ||
<p>This page is part of the AWS Developer Fundamentals Course at <a href="cloudacademy.com">Cloud Academy</a>. You can find the source files of this example <a href="https://github.com/cloudacademy/aws-developer-fundamentals">here</a>.</p> | ||
</div> | ||
</section> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
yum install -y httpd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
service httpd start | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
service httpd stop | ||
|
||
|