Created
November 7, 2012 10:31
-
-
Save asalkeld/4030762 to your computer and use it in GitHub Desktop.
yaml heat wordpress
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
Description: 'Heat Sample Template WordPress_Single_Instance: WordPress | |
is web software you can use to create a beautiful website or blog. This template | |
installs a single-instance WordPress deployment using a local MySQL database to | |
store the data.' | |
Resources: | |
WikiDatabase: | |
Type: AWS::EC2::Instance | |
Metadata: | |
AWS::CloudFormation::Init: | |
config: | |
packages: | |
yum: | |
mysql: [] | |
mysql-server: [] | |
httpd: [] | |
wordpress: [] | |
services: | |
systemd: | |
mysqld: | |
enabled: "true" | |
ensureRunning: "true" | |
httpd: | |
enabled: "true" | |
ensureRunning: "true" | |
Properties: | |
ImageId: | |
f16-image | |
InstanceType: | |
m1.large | |
KeyName: | |
Ref: KeyName | |
UserData: | |
Fn::UrlGet: | |
http://fpaste.com/bla/ | |
Outputs: | |
WebsiteURL: | |
Value: | |
Fn::Join: | |
- "" | |
- - http:// | |
- Fn::GetAtt: | |
- WikiDatabase | |
- PublicIp | |
- /wordpress | |
Description: URL for Wordpress wiki | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment