Real Amazon Web Services automation problems and real code to solve them
Are you deploying applications to AWS? Are you interested in learning what it takes to build a fully automated deployment pipeline for those applications?
This talk will tell you about areas that are going to frustrate you as you start to build your automation. We will share our solutions for resolving each problem giving you a template to deliver faster and improve quality. The solutions you’ll see have been proven based 5 years as an AWS partner working with clients in New Zealand and the US.
Ray Bachert has 3 AWS certifications including the new AWS DevOps Professional. He is an expert in building automated deployments on AWS. He’s been in software development for 20 years.
Real AWS automation problems and real code to solve them
1. Services like Jenkins (NSSM)
2. Handling reboots as part of the install such as ms-test (CFN)
3. Asynchronous calls that you need to complete before moving on, (wait-..) for stack complete, rds complete
4. User data scripts (base 64 encode 'em), tokenize
5. Validating CFN scripts and parameters (validate-cfn param, test-cfn call, dump)
6. Configuration management for infrastructure - cloud formation update, saline, http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html
7. On instance tests that integrate with Jenkins (Pester, PyUnit -> S3 -> Jenkins)
8. Visual studio and bash script line endings
9. Organizing the teams automation code into microservices
10. Making calls that are testable - put code into modules, use pester to mock AWS calls, create shared libraries for the team
11. Debugging and troubleshooting - write to a file, copy to S3
12. Common module other modules
13. Use configuration files for environments and developers rather than hardcoding
14. Use S3 as a poor mans way to secure credentials, bucket policy, IAM role
15. Linking steps together (saline)
16. Cloudwatch logs for event logs
Ray Bachert is a Senior Director at Cloud Admin Services Corp. Cloud Admin Services was formed in 2015 to provide clients with an AWS Accelerator package, which is a set of open source components (including saltstack, jenkins among others) that are pre-configured to work together and provide an end to end CI/CD solution for AWS out of the box.
Ray Bachert oversees the corporate direction and strategy for Cloud Admin Services’ field operations, including sales, support, consulting, marketing and alliances. He focuses on strategy, leadership, innovation, and customers. As Ray says, “It’s our job as a company to help our customers save money and innovate”.
Before joining Cloud Admin Services, Ray Bachert was CEO of Data Quality Associates where his focus on customers, innovation, improved operational efficiency and reporting led to significant company growth.
Prior to that he spent 15 years with Microsoft where he held a variety of management, operations, sales and marketing roles, ultimately serving as the company’s liaison with SAP in Germany and leading a successful effort to improve operational efficiency, strengthen the delivery of products, and drive growth.
Since helping to found Cloud Admin Services, Ray Bachert has worked to share CAS’s strategy and vision with customers, partners and shareholders. “Our strategy is complete stack, open, best-of-breed at every single layer of the architecture,” he says.