Failed to create instance: Standalone DB Instances are not supported for Amazon RDS Aurora ...

Putting class ranking in CV, but against dept guidelines

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

Maximum summed subsequences with non-adjacent items

How could we fake a moon landing now?

What does it mean that physics no longer uses mechanical models to describe phenomena?

How to write this math term? with cases it isn't working

What is a fractional matching?

Morning, Afternoon, Night Kanji

How does the math work when buying airline miles?

Time to Settle Down!

Find 108 by using 3,4,6

Can a new player join a group only when a new campaign starts?

Is there any word for a place full of confusion?

If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Why do we bend a book to keep it straight?

Selecting user stories during sprint planning

How often does castling occur in grandmaster games?

Is it fair for a professor to grade us on the possession of past papers?

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

How to install press fit bottom bracket into new frame

How to play a character with a disability or mental disorder without being offensive?

Amount of permutations on an NxNxN Rubik's Cube

Why is the AVR GCC compiler using a full `CALL` even though I have set the `-mshort-calls` flag?

Why does the remaining Rebel fleet at the end of Rogue One seem dramatically larger than the one in A New Hope?



Failed to create instance: Standalone DB Instances are not supported for Amazon RDS Aurora



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Amazon RDS for MySQL vs installing MySQL on an Amazon EC2 instanceMySQL localhost vs Amazon RDS instanceUnable to connect to Amazon RDS instanceLooking for suggestions to Migrate Amazon RDS Large Instance to non-amazon host - LiveAmazon AWS RDS Aurora Row size too large (VB5)Disable indexes on Amazon RDS PostgreSQL instanceAmazon RDS Promote Db Read Replica to RDS Db InstanceAmazon RDS for MySQL Backupestimating I/O for aurora from current mysql rds instance





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















Question



What is the cause of Failed to create instance: Standalone DB Instances are not supported for Amazon RDS Aurora? Run the ansible script to create RDS Aurora but getting the error. If "aurora" is changed to "MySQL", no issue.



Ansible Script (Role)



- rds:
region: "{{ ec2_region }}"
zone: "{{ ec2_zone }}"
command: create
instance_name: new-database
db_engine: "aurora"
size: 20
instance_type: db.t2.small
username: admin
password: 1nsecure


Error Message



fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"apply_immediately": false,
"aws_access_key": null,
"aws_secret_key": null,
"backup_retention": null,
"backup_window": null,
"character_set_name": null,
"command": "create",
"db_engine": "aurora",
"db_name": null,
"ec2_url": null,
"engine_version": null,
"force_failover": false,
"instance_name": "new-database",
"instance_type": "db.t2.small",
"iops": null,
"license_model": null,
"maint_window": null,
"multi_zone": null,
"new_instance_name": null,
"option_group": null,
"parameter_group": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": 3306,
"profile": null,
"publicly_accessible": null,
"region": "ap-southeast-2",
"security_groups": null,
"security_token": null,
"size": "20",
"snapshot": null,
"source_instance": null,
"subnet": null,
"tags": null,
"upgrade": false,
"username": "mysql_admin",
"validate_certs": true,
"vpc_security_groups": null,
"wait": false,
"wait_timeout": 300,
"zone": "ap-southeast-2a"
}
},
"msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"
}


Research



Add RDS support for dbengine Aurora #3180 tells below but not sure how to add the cluster in RDS Ansible.




fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"}


It's because you need to have an Aurora cluster created before you try and create the Aurora instance and you must pass the cluster name as one of the arguments when calling the create_db_instance API action.











share|improve this question
















bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • I'm also looking for a solution for this. Looks like the original ticket has been closed and moved to: github.com/ansible/ansible/issues/22617 As far as i can tell this is still not released.

    – Kevin
    Nov 15 '17 at 11:01


















4















Question



What is the cause of Failed to create instance: Standalone DB Instances are not supported for Amazon RDS Aurora? Run the ansible script to create RDS Aurora but getting the error. If "aurora" is changed to "MySQL", no issue.



Ansible Script (Role)



- rds:
region: "{{ ec2_region }}"
zone: "{{ ec2_zone }}"
command: create
instance_name: new-database
db_engine: "aurora"
size: 20
instance_type: db.t2.small
username: admin
password: 1nsecure


Error Message



fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"apply_immediately": false,
"aws_access_key": null,
"aws_secret_key": null,
"backup_retention": null,
"backup_window": null,
"character_set_name": null,
"command": "create",
"db_engine": "aurora",
"db_name": null,
"ec2_url": null,
"engine_version": null,
"force_failover": false,
"instance_name": "new-database",
"instance_type": "db.t2.small",
"iops": null,
"license_model": null,
"maint_window": null,
"multi_zone": null,
"new_instance_name": null,
"option_group": null,
"parameter_group": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": 3306,
"profile": null,
"publicly_accessible": null,
"region": "ap-southeast-2",
"security_groups": null,
"security_token": null,
"size": "20",
"snapshot": null,
"source_instance": null,
"subnet": null,
"tags": null,
"upgrade": false,
"username": "mysql_admin",
"validate_certs": true,
"vpc_security_groups": null,
"wait": false,
"wait_timeout": 300,
"zone": "ap-southeast-2a"
}
},
"msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"
}


Research



Add RDS support for dbengine Aurora #3180 tells below but not sure how to add the cluster in RDS Ansible.




fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"}


It's because you need to have an Aurora cluster created before you try and create the Aurora instance and you must pass the cluster name as one of the arguments when calling the create_db_instance API action.











share|improve this question
















bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • I'm also looking for a solution for this. Looks like the original ticket has been closed and moved to: github.com/ansible/ansible/issues/22617 As far as i can tell this is still not released.

    – Kevin
    Nov 15 '17 at 11:01














4












4








4








Question



What is the cause of Failed to create instance: Standalone DB Instances are not supported for Amazon RDS Aurora? Run the ansible script to create RDS Aurora but getting the error. If "aurora" is changed to "MySQL", no issue.



Ansible Script (Role)



- rds:
region: "{{ ec2_region }}"
zone: "{{ ec2_zone }}"
command: create
instance_name: new-database
db_engine: "aurora"
size: 20
instance_type: db.t2.small
username: admin
password: 1nsecure


Error Message



fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"apply_immediately": false,
"aws_access_key": null,
"aws_secret_key": null,
"backup_retention": null,
"backup_window": null,
"character_set_name": null,
"command": "create",
"db_engine": "aurora",
"db_name": null,
"ec2_url": null,
"engine_version": null,
"force_failover": false,
"instance_name": "new-database",
"instance_type": "db.t2.small",
"iops": null,
"license_model": null,
"maint_window": null,
"multi_zone": null,
"new_instance_name": null,
"option_group": null,
"parameter_group": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": 3306,
"profile": null,
"publicly_accessible": null,
"region": "ap-southeast-2",
"security_groups": null,
"security_token": null,
"size": "20",
"snapshot": null,
"source_instance": null,
"subnet": null,
"tags": null,
"upgrade": false,
"username": "mysql_admin",
"validate_certs": true,
"vpc_security_groups": null,
"wait": false,
"wait_timeout": 300,
"zone": "ap-southeast-2a"
}
},
"msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"
}


Research



Add RDS support for dbengine Aurora #3180 tells below but not sure how to add the cluster in RDS Ansible.




fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"}


It's because you need to have an Aurora cluster created before you try and create the Aurora instance and you must pass the cluster name as one of the arguments when calling the create_db_instance API action.











share|improve this question
















Question



What is the cause of Failed to create instance: Standalone DB Instances are not supported for Amazon RDS Aurora? Run the ansible script to create RDS Aurora but getting the error. If "aurora" is changed to "MySQL", no issue.



Ansible Script (Role)



- rds:
region: "{{ ec2_region }}"
zone: "{{ ec2_zone }}"
command: create
instance_name: new-database
db_engine: "aurora"
size: 20
instance_type: db.t2.small
username: admin
password: 1nsecure


Error Message



fatal: [localhost]: FAILED! => {
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"apply_immediately": false,
"aws_access_key": null,
"aws_secret_key": null,
"backup_retention": null,
"backup_window": null,
"character_set_name": null,
"command": "create",
"db_engine": "aurora",
"db_name": null,
"ec2_url": null,
"engine_version": null,
"force_failover": false,
"instance_name": "new-database",
"instance_type": "db.t2.small",
"iops": null,
"license_model": null,
"maint_window": null,
"multi_zone": null,
"new_instance_name": null,
"option_group": null,
"parameter_group": null,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"port": 3306,
"profile": null,
"publicly_accessible": null,
"region": "ap-southeast-2",
"security_groups": null,
"security_token": null,
"size": "20",
"snapshot": null,
"source_instance": null,
"subnet": null,
"tags": null,
"upgrade": false,
"username": "mysql_admin",
"validate_certs": true,
"vpc_security_groups": null,
"wait": false,
"wait_timeout": 300,
"zone": "ap-southeast-2a"
}
},
"msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"
}


Research



Add RDS support for dbengine Aurora #3180 tells below but not sure how to add the cluster in RDS Ansible.




fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to create instance: Standalone DB Instances are not supported for the specified engine"}


It's because you need to have an Aurora cluster created before you try and create the Aurora instance and you must pass the cluster name as one of the arguments when calling the create_db_instance API action.








amazon-rds






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 14 '17 at 8:40







mon

















asked Nov 14 '17 at 7:26









monmon

1817




1817





bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • I'm also looking for a solution for this. Looks like the original ticket has been closed and moved to: github.com/ansible/ansible/issues/22617 As far as i can tell this is still not released.

    – Kevin
    Nov 15 '17 at 11:01



















  • I'm also looking for a solution for this. Looks like the original ticket has been closed and moved to: github.com/ansible/ansible/issues/22617 As far as i can tell this is still not released.

    – Kevin
    Nov 15 '17 at 11:01

















I'm also looking for a solution for this. Looks like the original ticket has been closed and moved to: github.com/ansible/ansible/issues/22617 As far as i can tell this is still not released.

– Kevin
Nov 15 '17 at 11:01





I'm also looking for a solution for this. Looks like the original ticket has been closed and moved to: github.com/ansible/ansible/issues/22617 As far as i can tell this is still not released.

– Kevin
Nov 15 '17 at 11:01










1 Answer
1






active

oldest

votes


















0














Aurora databases use the database cluster API rather than the database API.



This means in terraform for instance you need to create them via the rds_cluster and rds_cluster_instance resources.



In ansible using this module might work: https://github.com/manicminer/ansible-modules-rds-cluster






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "182"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f190842%2ffailed-to-create-instance-standalone-db-instances-are-not-supported-for-amazon%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Aurora databases use the database cluster API rather than the database API.



    This means in terraform for instance you need to create them via the rds_cluster and rds_cluster_instance resources.



    In ansible using this module might work: https://github.com/manicminer/ansible-modules-rds-cluster






    share|improve this answer




























      0














      Aurora databases use the database cluster API rather than the database API.



      This means in terraform for instance you need to create them via the rds_cluster and rds_cluster_instance resources.



      In ansible using this module might work: https://github.com/manicminer/ansible-modules-rds-cluster






      share|improve this answer


























        0












        0








        0







        Aurora databases use the database cluster API rather than the database API.



        This means in terraform for instance you need to create them via the rds_cluster and rds_cluster_instance resources.



        In ansible using this module might work: https://github.com/manicminer/ansible-modules-rds-cluster






        share|improve this answer













        Aurora databases use the database cluster API rather than the database API.



        This means in terraform for instance you need to create them via the rds_cluster and rds_cluster_instance resources.



        In ansible using this module might work: https://github.com/manicminer/ansible-modules-rds-cluster







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 29 '18 at 23:00









        Paul DejeanPaul Dejean

        1011




        1011






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Database Administrators Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f190842%2ffailed-to-create-instance-standalone-db-instances-are-not-supported-for-amazon%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            ORA-01691 (unable to extend lob segment) even though my tablespace has AUTOEXTEND onORA-01692: unable to...

            Always On Availability groups resolving state after failover - Remote harden of transaction...

            Circunscripción electoral de Guipúzcoa Referencias Menú de navegaciónLas claves del sistema electoral en...