Github devops - Рдуард Кабринский
<h1>Github devops</h1>
<p>[youtube]</p>
Github devops <a href="http://remmont.com">Daily news</a> Github devops
<h1>AWS DevOps (CodeCommit, CodeBuild, CodePipeline, CodeDeploy)</h1>
<p><i>Get certified in Developer Operations on AWS</i></p>
<p>This tutorial contains my notes on getting certified as a AWS Certified DevOps Engineer - Professional ? able to setup and manage continuous integration and deployment in the AWS cloud ? after paying $300 USD to <strong>write out</strong> 80 essay (not multiple-choice) questions in 170 minutes (3 hours with no breaks). <strong>That?s 2.1 seconds per essay question.</strong> Those who fail the exam must wait 30 days before being allowed to retake the exam (at additional cost), and only 3 times in a 12 month period.</p>
<p>The previous pre-requisite is passing either one:</p>
<h2>References</h2>
<p><ul>
<li>https://www.youtube.com/playlist?list=PLhr1KZpdzukeH9VMPbNHMCXl_NrVc1JGe</li>
<li>https://www.youtube.com/playlist?list=PLhr1KZpdzuke5pqzTvI2ZxwP8-NwLACuU</li>
<li>https://www.youtube.com/playlist?list=PLhr1KZpdzukeMbjRqGswHX38DCqOHZ5GA </ul></p>
<p></li>
<li>http://cantrill.io</li>
<li>http://ozaws.com</li>
<li>https://serverlesscode.com/</li>
<li>https://paulwakeford.info/</li>
<li>https://aws.amazon.com/blogs/aws/</li>
<li>https://www.awsarchitectureblog.com</li>
<li>http://blogs.aws.amazon.com/application-management</li>
<li>http://blogs.aws.amazon.com/security/</li>
<li>https://aws.amazon.com/blogs/compute/</li>
<li>https://aws.amazon.com/whitepapers/</li>
</ul>
</p>
<p>User Guides from Amazon:</p>
<p><ul>
<li>Core Concepts</li>
<li>CI/CD Automation</li>
<li>Monitoring/Metrics/Logging</li>
<li>Security/Governance/Validation</li>
<li>High Availability and Elasticity</li>
<li>Operations</li>
</ul>
</li>
</ul>
</p>
<p>A pipeline helps you automate steps in your software delivery process, such as initiating automatic builds and then deploying to Amazon EC2 instances. You will use AWS CodePipeline, a service that builds, tests, and deploys your code every time there is a code change, based on the release process models you define. Use CodePipeline to orchestrate each step in your release process. As part of your setup, you will plug other AWS services into CodePipeline to complete your software delivery pipeline. This guide will show you how to create a very simple pipeline that pulls code from a source repository and automatically deploys it to an Amazon EC2 instance.</p>
<h2>What is DevOps (DevSecOps)?</h2>
<p> Amazon defines ?DevOps is the combination of cultural philosophies, practices, and tools that increases an organization?s ability to deliver applications and services at high velocity.?</p>
<h2>CodeCommit, CodeBuild, CodePipeline, CodeDeploy</h2>
<p style="clear: both"><img src="https://cloud.githubusercontent.com/assets/300046/17295043/77eae0e8-57b7-11e6-958b-dc26ebe74361.jpg" /></p>
<h2>CodeCommit setup</h2>
<p style="clear: both"><img src="https://user-images.githubusercontent.com/300046/55664582-83b42e00-57ed-11e9-8534-a7ee42523b2b.jpg" /></p>
<p>AWS CodeCommit competes with GitHub, GitLab, BitBucket, and other cloud-based text code repositories.</p>
<p>Repositories in AWS CodeCommit have a URL that contains a region, such as:</p>
<h3>CodeDeploy Setup instances</h3>
<ol>
<li>In IAM Service, create Role ?codedeploy?.</li>
<li>Create CDInstanceRole </ol>
<p>In Compute EC2 service, launch Amazon Linux, t2.micro, 2 instances, using the role created above. In Advanced Details, paste script from
https://gist.github.com/mikepfeiffer/4d ... ceaf29493a</p>
<p>EC2 UserData script to install <strong>CodeDeploy agent</strong>:</p>
<p>CUSTOMIZE folder, region mentionedtwice.</p>
<p></li>
<li>Tag instances with name ?Dev? for Development.</li>
<li>Add a Security Group Role for HTTP. No SSH.</li>
</ol>
</p>
<h3>AWS CodeDeploy Setup</h3>
<ol>
<li>Got to AWS CodeDeploy service, Get Started Now.</li>
<li>Custom deployment.</li>
<li>Specify an Application Name and Deployment Group Name according to your organization?s naming standards.</li>
<li>Select Tag Type ?Amazon EC2? value ?Dev? specified for 2 instances in a step above.</li>
<li>Deployment Config - AllAtOnce (instead of Half at a time).</li>
<li>No Triggers. </ol>
<p>Select a Service Role ARN defined in a prior step. Create Application.</p>
<p>The AWS Console provides code to deploy from a S3 bucket.</p>
<h3>AWS CodePipeline</h3>
<ol>
<li>Go to AWS CodePipeline service, Get Started.</li>
<li>Specify a Pipeline name according to your organization?s naming standards. (?Pipeline1?)</li>
<li>Select Source Provider: GitHub (NOT Amazon S3). Click Connect to GitHub.</li>
<li>Select a Repository and Branch from the GitHub account authenticated.</li>
<li>Select Deployment provider AWS CodeDeploy (NOT AWS Elastic Beanstalk).</li>
<li>Supply AWS CodeDeploy Application Name and Deployment group from earlier.</li>
<li>Do not define Build Stage (until we have a build).</li>
<li>Create Service Role using default name ?AWS-CodePipeline-Service?. View Policy Document to review Actions allowed the role:</li>
<li>Review Pipeline summary.</li>
<li>Cleanup: Delete the pipeline you just created.</li>
</ol>
<p>PROTIP: Each pipeline costs about $1 per month, and charges only if a deployment occurs.</p>
<h3>View app deployed</h3>
<p>In EC2, copy the Public DNS address, such as:</p>
<p>Paste URL in an internet browser.</p>
<p>It should respond with ?Congratualations?.</p>
<h3>Make Change</h3>
<ol>
<li>Commit.</li>
<li>Detect a change. </ol>
<p>View app deployed again.</p>
<p>appspec.yml file in the root folder in source code repo</p>
<p>For sample application, it?s just a single index.html file containing CSS, no JavaScript.</p>
<p>using AWS Code Services</p>
<p>CodeDeploy agent in EC2 Deploy Group</p>
<p>Amazon Route 53 globomantics.com</p>
<h2>Snapshot AMIs</h2>
<p>Building a server from installers in S3 can be time-consuming because it take so much I/O and network bandwidth.</p>
<p>Michael Tripoli & Karate Vick at Netflix open-sourced on GitHub their Python tool called ?Animator? for creating EBS-backed AMIs. The tool create a <strong>Base AMI</strong> by taking a snapshot of the root volume and making it available as an EBS volume that can be used to launch an EC2 instance.</p>
<p>They said ?We knew that application startup latency would be very important, especially during scale-up operations.?</p>
<p>This is simpler than Packer from Hashicorp.</p>
<h2>Learning Resources</h2>
<p> Australian Nick Triantafillou (@xelfer) for $99 provides 6 hours of videos covering 60 lessons in his ACloud.guru course.</p>
<p>Mike Pfeiffer created at Pluralsight a series of video courses, one for each ?domain? of the AWS Certified DevOps Engineer Professional exam:</p>
<p><ul>
<li>Delegation & Federation</li>
<li>Corporate Identity Federation</li>
<li>Web Identity Federation</p></ul>
<p>Justin Manga (@jmenga, pseudo.co.de) in Pluralsight video course Continuous Delivery using Docker and Ansible shows learners how to create a Python app, then Jenkins 2 Pipeline plugin in a container using Cloud Formation files. deploy to a EC2 Container Services holding Debian instances.</p>
<p>Since ECS has Group of 497:</p>
<h2>Boto Python</h2>
<p>The README page says ?Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for Python, which allows Python developers to write software that makes use of services like Amazon S3 and Amazon EC2.?</p>
<p>NOTE: Boto 3 is built on top of Botocore used by the AWS CLI:</p>
<p><ul>
<li>Sessions</li>
<li>Clients: low level service connections</p></ul>
<p>Boto 3 consists of these major features:</p>
<p><ul>
<li>Resources: a high level, object oriented interface</li>
<li>Collections: a tool to iterate and manipulate groups of resources</li>
<li>Paginators: automatic paging of responses</li>
<li>Waiters: a way to block until a certain state has been reached</li>
</ul>
</p>
<h2>References</h2>
<p><ul>
<li>Use the principal concepts and practices behind the DevOps methodology</li>
<li>Design and implement an infrastructure on AWS that supports one or more DevOps development projects</li>
<li>Use AWS CloudFormation and AWS OpsWorks to deploy the infrastructure necessary to create development, test, and production environments for a software development project</li>
<li>Use AWS CodeCommit and AWS CodeBuild to understand the array of options for enabling a continuous integration (CI) environment on AWS</li>
<li>Use AWS CodePipeline to design and implement a continuous integration and continuous delivery (CI/CD) pipeline on AWS</li>
<li>Use AWS CodeStar to manage all software development activities in one place </ul></p>
<p>Implement several common continuous deployment (CD) use cases using AWS technologies, including blue/green deployment and A/B testing</p>
<p></li>
<li>Distinguish between the array of application deployment technologies available on AWS, including AWS CodeDeploy, AWS OpsWorks, AWS Elastic Beanstalk, Amazon Elastic Container Service (Amazon ECS), and Amazon Elastic Container Registry (Amazon ECR), and decide which technology best fits a given scenario</li>
<li>Use Amazon EC2 Systems Manager for patch management</li>
<li>Leverage automated testing in different stages of a CI/CD pipeline</li>
<li>Fine-tune the applications you deliver on AWS for high performance, and use AWS tools and technologies to monitor your application and environment for potential issues</li>
</ul>
</p>
<h2>Github devops</h2>
<h3>Github devops</h3>
<p>[youtube]</p>
Github devops <a href="http://remmont.com">Headlines today</a> Github devops
<h4>Github devops</h4>
Get certified in Developer Operations on AWS
<h5>Github devops</h5>
Github devops <a href="http://remmont.com">Github devops</a> Github devops
SOURCE: <h6>Github devops</h6> <a href="https://dev-ops.engineer/">Github devops</a> Github devops
#tags#[replace: -,-Github devops] Github devops#tags#
https://ssylki.info/?who=remmont.com/al ... rs-video-5 https://ssylki.info/?who=forum.remmont.com/87236 https://ssylki.info/?who=booking-car-rental.remmont.com https://ssylki.info/?who=safe-auto-insu ... emmont.com https://ssylki.info/?who=independent-in ... emmont.com