17.08.2017 Views

overview-of-deployment-options-on-aws (1)

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Amaz<strong>on</strong> Web Services – Deployment Opti<strong>on</strong>s <strong>on</strong> AWS March 2015<br />

S3 access in the associated IAM role. The <str<strong>on</strong>g>deployment</str<strong>on</strong>g> service will take the<br />

complexity <str<strong>on</strong>g>of</str<strong>on</strong>g> passing these roles to EC2 instance so that your applicati<strong>on</strong> can<br />

securely access AWS resource with the privileges that you define.<br />

Custom Variables<br />

When you develop an applicati<strong>on</strong>, you want to customize c<strong>on</strong>figurati<strong>on</strong> values<br />

such as database c<strong>on</strong>necti<strong>on</strong> strings, security credentials, or other informati<strong>on</strong><br />

that you d<strong>on</strong>’t want to hardcode into your applicati<strong>on</strong>. Defining variables can<br />

help loosely couple your applicati<strong>on</strong> c<strong>on</strong>figurati<strong>on</strong> and gives you the flexibility to<br />

scale different tiers <str<strong>on</strong>g>of</str<strong>on</strong>g> your applicati<strong>on</strong> independently. Embedding variables<br />

outside <str<strong>on</strong>g>of</str<strong>on</strong>g> your applicati<strong>on</strong> code also helps improve portability <str<strong>on</strong>g>of</str<strong>on</strong>g> your<br />

applicati<strong>on</strong>. Additi<strong>on</strong>ally, you can differentiate envir<strong>on</strong>ments into development,<br />

test, and producti<strong>on</strong> based <strong>on</strong> customized variables. The <str<strong>on</strong>g>deployment</str<strong>on</strong>g> services<br />

help facilitate customizing variables so that <strong>on</strong>ce they are set, the variables<br />

become available to your applicati<strong>on</strong> envir<strong>on</strong>ments.<br />

Other AWS Service Integrati<strong>on</strong><br />

AWS <str<strong>on</strong>g>deployment</str<strong>on</strong>g> services provide easier integrati<strong>on</strong> with other AWS services.<br />

Whether you need to load balance across multiple Availability Z<strong>on</strong>es 30 by using<br />

Elastic Load Balancing or by using Amaz<strong>on</strong> RDS as a back end, the <str<strong>on</strong>g>deployment</str<strong>on</strong>g><br />

services like AWS Elastic Beanstalk, AWS CloudFormati<strong>on</strong>, and AWS OpsWorks<br />

make it simpler to use these services as part <str<strong>on</strong>g>of</str<strong>on</strong>g> your <str<strong>on</strong>g>deployment</str<strong>on</strong>g>.<br />

If you need to use other AWS services, you can leverage tool-specific integrati<strong>on</strong><br />

methods to interact with the resource. For example, if you are using Elastic<br />

Beanstalk for <str<strong>on</strong>g>deployment</str<strong>on</strong>g> and want to use DynamoDB for your back end, you can<br />

customize your envir<strong>on</strong>ment resources by including a c<strong>on</strong>figurati<strong>on</strong> file within<br />

your applicati<strong>on</strong> source bundle. 31 With AWS OpsWorks, you can create custom<br />

recipes to c<strong>on</strong>figure the applicati<strong>on</strong> so that it can access other AWS services. 32<br />

Similarly, several template snippets with a number <str<strong>on</strong>g>of</str<strong>on</strong>g> example scenarios are<br />

available for you to use within your AWS CloudFormati<strong>on</strong> templates. 33<br />

Tags<br />

Another advantage <str<strong>on</strong>g>of</str<strong>on</strong>g> using a <str<strong>on</strong>g>deployment</str<strong>on</strong>g> service is to reap the benefits <str<strong>on</strong>g>of</str<strong>on</strong>g><br />

automating tag usage. A tag c<strong>on</strong>sists <str<strong>on</strong>g>of</str<strong>on</strong>g> a user-defined key and value. You can<br />

define tags based <strong>on</strong> applicati<strong>on</strong>, project, cost centers, business divisi<strong>on</strong>, and<br />

Page 11 <str<strong>on</strong>g>of</str<strong>on</strong>g> 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!