15 lines
		
	
	
		
			417 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			417 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /**
 | |
|  * @file create_rds.cpp Creates RDS Aurora cluster with 4 instances
 | |
|  * Creates VPC, subnets, subnets group, internet gateway, routing table, routes, configure security group
 | |
|  * In case of any error tries to remove all created stuff
 | |
|  */
 | |
| 
 | |
| #include <iostream>
 | |
| #include <maxtest/rds_vpc.hh>
 | |
| 
 | |
| int main(int argc, char* argv[])
 | |
| {
 | |
|     RDS* cluster = new RDS((char*) "auroratest");
 | |
|     return cluster->create_rds_db(4);
 | |
| }
 | 
