kitchen-ec2 | A Test Kitchen Driver for Amazon EC2 | AWS library

 by   test-kitchen Ruby Version: Current License: Non-SPDX

kandi X-RAY | kitchen-ec2 Summary

kandi X-RAY | kitchen-ec2 Summary

kitchen-ec2 is a Ruby library typically used in Cloud, AWS, Selenium, DynamoDB, Chef applications. kitchen-ec2 has no bugs, it has no vulnerabilities and it has low support. However kitchen-ec2 has a Non-SPDX License. You can download it from GitHub.

A Test Kitchen Driver for Amazon EC2.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              kitchen-ec2 has a low active ecosystem.
              It has 217 star(s) with 201 fork(s). There are 18 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 31 open issues and 234 have been closed. On average issues are closed in 527 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of kitchen-ec2 is current.

            kandi-Quality Quality

              kitchen-ec2 has 0 bugs and 0 code smells.

            kandi-Security Security

              kitchen-ec2 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              kitchen-ec2 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              kitchen-ec2 has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              kitchen-ec2 releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kitchen-ec2
            Get all kandi verified functions for this library.

            kitchen-ec2 Key Features

            No Key Features are available at this moment for kitchen-ec2.

            kitchen-ec2 Examples and Code Snippets

            No Code Snippets are available at this moment for kitchen-ec2.

            Community Discussions

            QUESTION

            Kitchen EC2 on Windows - Eventual WinRM::WinRMAuthorizationError
            Asked 2019-Mar-19 at 13:05

            I am using the Kitchen EC2 driver for testing some Windows "base" cookbooks on Windows Server 2012R2, 2016, and 1803 AMIs from Amazon. I'm encountering what seems like a problem that happens after a specific duration of time while executing a recipe via Kitchen, as opposed to hitting a specific line of code.

            At some point during the recipe converge it stops with a WinRM::WinRMAuthorizationError. If I rerun the converge it immediately boots me out with the same error. I've tried changing and moving resources in the recipe, and it seems like it isn't a problem with a specific part of the recipe, it just happens randomly and then continues to happen.

            This started because I'm trying to remove our custom user-data script, and instead use the one that the Kitchen-EC2 driver generates. They are roughly the same, but they just do things in slightly different ways.

            I'm planning to do more troubleshooting (this seems like a good resource) but given that I'm trying to use vanilla settings, I'm hoping I'm missing something obvious.

            Relevant part of the .kitchen.yml:

            ...

            ANSWER

            Answered 2019-Mar-19 at 13:05

            My best guess is this had to do with the AMI I was using, which was a CIS image.

            More specifically, I think the userdata script did work for initial WinRM authorization. But some of the CIS AMI group policies that conflict with the winrm.cmd commands in the userdata were possibly later applied and that killed the connection. My thought is that running gpupdate later as part of the normal recipe was reapplying them.

            I think running these commands these in userdata was what helped. It requires installing module that contains the Set-PolicyFileEntry command.

            Source https://stackoverflow.com/questions/50994689

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install kitchen-ec2

            Install Chef Workstation. If testing things other than Chef Infra cookbooks, please consult your driver's documentation for information on what to install. Install the AWS command line tools. Run aws configure. This will set up your AWS credentials for both the AWS CLI tools and kitchen-ec2.
            Install Chef Workstation. If testing things other than Chef Infra cookbooks, please consult your driver's documentation for information on what to install.
            Install the AWS command line tools.
            Run aws configure. This will set up your AWS credentials for both the AWS CLI tools and kitchen-ec2.
            Add or edit the driver section of your kitchen.yml: driver: name: ec2
            Run kitchen test.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/test-kitchen/kitchen-ec2.git

          • CLI

            gh repo clone test-kitchen/kitchen-ec2

          • sshUrl

            git@github.com:test-kitchen/kitchen-ec2.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular AWS Libraries

            localstack

            by localstack

            og-aws

            by open-guides

            aws-cli

            by aws

            awesome-aws

            by donnemartin

            amplify-js

            by aws-amplify

            Try Top Libraries by test-kitchen

            test-kitchen

            by test-kitchenRuby

            kitchen-docker

            by test-kitchenRuby

            kitchen-vagrant

            by test-kitchenRuby

            kitchen-dokken

            by test-kitchenRuby

            kitchen-digitalocean

            by test-kitchenRuby