cloudformer | Rake helper tasks for AWS Cloudformation | AWS library

 by   kunday Ruby Version: 0.0.17 License: MIT

kandi X-RAY | cloudformer Summary

kandi X-RAY | cloudformer Summary

cloudformer is a Ruby library typically used in Cloud, AWS applications. cloudformer has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Cloudformer attempts to simplify AWS Cloudformation stack creation process in ruby projects by providing reusable rake tasks to perform common operations such as apply(create/update), delete, recreate on stack along with validations on templates. Task executions which enforce a stack change will wait until ROLLBACK/COMPLETE or DELETE is signalled on the stack (useful in continuous deployment environments to wait until deployment is successful). Refer examples section for more information.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cloudformer has a low active ecosystem.
              It has 43 star(s) with 32 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 3 have been closed. On average issues are closed in 158 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cloudformer is 0.0.17

            kandi-Quality Quality

              cloudformer has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              cloudformer is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              cloudformer releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              cloudformer saves you 141 person hours of effort in developing the same functionality from scratch.
              It has 353 lines of code, 29 functions and 5 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed cloudformer and discovered the below as its top functions. This is intended to give you an instant insight into cloudformer implemented functionality, and help decide if they suit your requirements.
            • Defines a task
            • Defines a task
            • Defines a new task
            Get all kandi verified functions for this library.

            cloudformer Key Features

            No Key Features are available at this moment for cloudformer.

            cloudformer Examples and Code Snippets

            CloudFormer,Example
            Rubydot img1Lines of Code : 105dot img1License : Permissive (MIT)
            copy iconCopy
            {
              "AWSTemplateFormatVersion": "2010-09-09",
              "Description": "Cloudformer - Demo App",
              "Parameters": {
                "AmiId": {
                  "Type": "String"
                }
                },
                "Resources": {
                  "ApplicationServer": {
                    "Type": "AWS::EC2::Instance",
                    
            CloudFormer,Configuration
            Rubydot img2Lines of Code : 17dot img2License : Permissive (MIT)
            copy iconCopy
            require 'cloudformer'
            Cloudformer::Tasks.new("earmark") do |t|
              t.template = "cloudformation/cloudformation.json"
              t.parameters = parameters
            end
            
            "Parameters": {
              "PackageUrl": {
                "Type": "String"
              },
              "PackageVersion": {
                "Type": "String"  
            Note:
            Rubydot img3Lines of Code : 8dot img3License : Permissive (MIT)
            copy iconCopy
            
            rake apply           # Apply Stack with Cloudformation script and parameters(And wait till complete - supports updates)
            rake delete          # Delete stack from CloudFormation(And wait till stack is complete)
            rake events          # Get the recent ev  

            Community Discussions

            QUESTION

            Which AWS services does AWS CloudFormer support?
            Asked 2020-Jul-16 at 22:17

            AWS CloudFormation offers a default stack named CloudFormer, a template creation tool. CloudFormer creates a CloudFormation template from your current AWS environment, allowing you to click which manually created resources to include in your template.

            The AWS CloudFormer documentation does not list the AWS services that CloudFormer supports. There is an announcement from 2013 (CloudFormer Now Supports Amazon VPC and More AWS Resources) that lists a subset of supported services, but there is no complete list.

            Which services does AWS CloudFormer support? For example, does it support commonly used severless managed services, such as AWS Lambda and AWS Cognito?

            ...

            ANSWER

            Answered 2020-Jul-16 at 20:59

            AWS CloudFormer is not a complete solution for creating CloudFormation templates from your existing AWS infrastructure.

            AWS CloudFormer supports a very limited subset of AWS resources, focused on Network, Compute and Storage. The vast majority of AWS managed services, such as AWS Lambda and AWS Cognito are not support.

            If you'd like to create a template of your network infrastructure (VPCs et al.) and EC2 instances, CloudFormer may be useful. If you're using other AWS managed services, you're out of luck.

            Additionally, CloudFormer does not have a programmatic interface.

            AWS CloudFormer's core support DNS: Route53 Network: VPC, Subnets EC2: Instances, LoadBalancer, Autoscaling, ElasticIP, SecurityGroups Storage: S3, EBS, RDS, SimpleDB, DynamoDB, ElastiCache, Redshift

            Other supported services

            • CloudWatch Alarms (but not CloudWatch dashboards)
            • CloudFront
            • Elastic Beanstalk
            • Kinesis Streams
            • OpsWorks
            • SNS
            • SQS

            Common services that are NOT supported by AWS CloudFormer

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

            QUESTION

            Generate cloudformation for exisiting resouces, load balancer migration
            Asked 2020-Jun-10 at 11:25

            I was wondering if anybody has had any experience creating a cloudformation template from exisiting AWS resources.

            I am currently trying to migrate from a classic elb to a alb using the wizard. However I already have cloudformation templates managed by github. Therefore I would need to add the alb in after it has been created. I tried using cloudformer but it doesn't appear to support alb whereas it does pickup classic.

            Has anybody had experience migrating elbs and creating cloudformation templates from existing resources?

            Many thanks!

            ...

            ANSWER

            Answered 2020-Jun-10 at 11:25

            AWS::ElasticLoadBalancingV2::LoadBalancer is one of the resources that can be imported into CloudForamtion. But sadly AWS::ElasticLoadBalancingV2::TargetGroup can't be imported.

            Importing is a try-and-see operation. It is not automated as many people expect it to be. The reason is that you have to manually create the template for the resources being imported. What's more, the attributes of the resources in the template created must match exactly existing resources.

            CloudFormer is not helpful these days. Its not maintained by AWS anymore and has been in beta for years.

            If you haven't tried importing anything before, the best way would be to start with AWS tutorial: Importing Existing Resources Into a Stack

            This way you can start with something simple, before you move to ALB with all its listeners and listener rules. Off course you have to create new Target Group as well as it can't be imported sadly.

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

            QUESTION

            AppSync Cloudformation template generator
            Asked 2020-Apr-09 at 22:10

            I have been using the cloudformer template within Cloudformation to generate a template for AWS resources. I notice it does create the template with DynamoDB tables and some other resources but does not create one for AppSync, Lambda, and IAM roles. Is there a way to auto generate the cloudformation template from an existing AppSync schema and other resources? Would I have to use the designer tool within CloudFormation to create the stack/template and copy over the schema/template and resources by hand?

            ...

            ANSWER

            Answered 2020-Apr-09 at 22:10

            There is no utility available to auto generate the cloudformation template from existing account resources. The best option is to use the Cloudformation designer to construct all resource definitions. The schema can be uploaded to S3 and the designer needs to be updated to point to it to load.

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

            QUESTION

            Chrome Browser refusing to connect to AWS Cloud Former instance over HTTPS
            Asked 2020-Jan-18 at 06:07

            I'm struggling to use AWS Cloud Former to generate a CloudFormation template. I have already launched the Cloud Former stack twice and attempted to connect to the associated DNS for the EC2 instance generated each time and keep receiving the error pictured below. I have already tried to create a new SSL certification for the EC2 instance via AWS Certificate Manager, but AWS does not allow this for EC2 instances. I'm not very familiar with SSL/HTTPS processes and would appreciate any guidance on next steps I should pursue to address/troubleshoot this.

            Upon further research into this, I have found the following issue: Specifically, I'm seeing the following SSL certification issue:
            Has anyone else seen this yet with CloudFormer recently?

            ...

            ANSWER

            Answered 2020-Jan-17 at 22:56

            SSL certificates require a domain. On AWS you can set one up with the certificate manager, but it will still have an issue until you correctly configure Route 53 on AWS as well.

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

            QUESTION

            Export existing AWS CloudWatch alarms to CloudFormation template
            Asked 2019-Nov-20 at 13:41

            How to export existing, configured and tested AWS CloudWatch alarms to Cloudformation template?

            I know about CloudFormer tool, but it supports limited number of AWS services (Amazon VPC, DynamoDB, etc) and don't supports some of services which we use. Which tools and approaches can I use in my case for generating Cloudformation template?

            ...

            ANSWER

            Answered 2019-Nov-20 at 13:41

            AWS have recently announced the ability to create a new CloudFormation stack using existing resources or update an existing CloudFormation stack with imported resources. The announcement came via the AWS blog.

            The CloudFormation documentation has been updated and includes supported resources (CloudWatch Alarms, VPC and DynamoDB Tables are all supported).

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

            QUESTION

            Exporting AWS Data Pipeline as CloudFormation template to use it in Terraform
            Asked 2019-Nov-03 at 01:53

            I'm trying to export existing AWS Data Pipeline task to Terraform infrastructure somehow.

            Accordingly, to this issue, there is no direct support for Data Pipelines, but it still seems achievable using CloudFormation templates (terraform resource).

            The problem is that I cannot find a way to export existing pipeline into CloudFormation template.

            Exporting the pipeline with its specific definition syntax won't work as I've not found a way to include this definition into CloudFormation. CloudFormer does not support exporting pipelines either.

            Does anybody know how to export a pipeline to CloudFormation or any other way to get AWS Data Pipeline automated with Terraform?

            Thank you for your help!

            ...

            ANSWER

            Answered 2019-Nov-03 at 01:53

            UPD [Jul. 2019]: Some progress has been made in the terraform repository. aws_datapipeline_pipeline resource has been implemented, but it is not yet clear how to use it. Merged pull request

            Original answer:

            As a solution to this problem, I've come up with a node.js script, which covers my use case. In addition, I've created a Terraform module to be used in Terraform configuration.

            Here is the link to the gist with the code

            Will copy usage examples here.

            Command Line:

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

            QUESTION

            Get AWS cloudformation for an existing lambda
            Asked 2019-Sep-08 at 21:45

            Is there any way to get the cloudformation for lambdas? I know you can create AWS CloudFormation Templates from existing AWS Resources using CloudFormer. And also, cloudformer is in beta mode (AWS CloudFormer 0.41 (Beta)) at the time I am asking this question. While following the documentation, I could not find a way to create cloudformation for my lambda

            I have selected everything while creating the cloudformation but the template contains no lambdas.

            Is it not supported or I am missing something? If it is not supported, what is the reason behind this?

            ...

            ANSWER

            Answered 2019-Sep-08 at 21:45

            If you save the Lambda code to disk, you could use Rubycfn to create your Lambda function in CloudFormation.

            gem install rubycfn

            Save the file below to example.rb and run rubycfn example.rb to generate the CloudFormation.

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

            QUESTION

            AWS Cloudfromation and autoscaling : The requested configuration is currently not supported. Launching EC2 instance failed
            Asked 2018-Nov-19 at 05:41

            I want to replicate the infrastructure from one region(us-east-1) to another(us-east-2). so,I have generated a cloudfromation template of an existing infrastructure with the help of cloudformer tool.

            ...

            ANSWER

            Answered 2018-Nov-19 at 05:41

            After a lot of debugging, when I started launching the things manually, I found the same error and I got to know that c3.large is causing the error. When I launch the template with c4.large it successfully launched the template from us-east-1 to us-east-2.

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

            QUESTION

            Why are NS and SOA records not generated by AWS CloudFormer?
            Asked 2018-Oct-06 at 18:04

            I have managed to reverse engineer all of my Route 53 record sets into a CloudFormation template using the (beta) CloudFormer tool. However, for some reason my NS and SOA record sets are not present in the template — why?

            ...

            ANSWER

            Answered 2018-Oct-06 at 18:04

            Because the values would be incorrect or not useful.

            Route 53 populates these records with the correct values when a hosted zone is created. Deleting that hosted zone and creating a new one (for the same domain) results in the assignment of new, different NS and SOA values.

            Setting these records in the new hosted zone to match those of the old hosted zone will not accomplish anything other than making the new hosted zone's records be wrong.

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

            QUESTION

            AWS cloudformation : how to properly create a redis cache cluster
            Asked 2018-Jul-16 at 21:47

            I want to create an elasticache instance using redis.

            I think that I should use it "cluster mode disabled" because everything will fit into one server. In order to not have a SPOF, I want to create a read replica that will be promoted by AWS in case of a failure of the master. If possible, it would be great to balance the read only operations between master and slave, but it is not mandatory.

            I created a functioning master/read-replica using the aws console then used cloudformer to create the cloudformation json conf. Cloudformer has created me two unlinked AWS::ElastiCache::CacheCluster, but by reading the doc. I don't understand how to link them... For now I have this configuration :

            ...

            ANSWER

            Answered 2018-Jul-16 at 21:47

            I managed to do this using AWS::ElastiCache::ReplicationGroup, the NumCacheClusters parameter provide the possibility to have numerous servers. Beware : it seem that you have to handle the connection to master/slave yourself (but in case of a master's failure, aws should normally detect it and change the dns of a slave to permit you point do not change your configuration). here is a sample :

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install cloudformer

            Add this line to your application's Gemfile:.

            Support

            Fork itCreate your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am 'Add some feature')Push to the branch (git push origin my-new-feature)Create new Pull Request
            Find more information at:

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

            Find more libraries

            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 kunday

            ignitechennai.com

            by kundayJavaScript

            gondola

            by kundayJavaScript

            epitome

            by kundayRuby

            getting_dumped

            by kundayRuby

            vpn

            by kundayRuby