You can set up the Recovery Kit for EC2™ through the use of the LKCLI (Command Line Interface).

Creating/Extending/Configuring the EC2™ resource from the Command Line

create EC2

EXAMPLE: #lkcli resource create ec2 --tag <ip tag> --type <EC2 Type> --switchback <switchback type>

Option Default Description
--type <str> Specify the type of EC2™ resource to be create.
Specify “RouteTable” to select a route table scenario, “Elastic IP” to select an Elastic IP scenario.

--type RouteTable

EXAMPLE: #lkcli resource create ec2 --tag <tag> --type RouteTable --ip_resource <IP tag> --switchback <switchback type>

Option Default Description
--ip_resource <str> Specify the tag name of the IP resource created in advance.

--type ElasticIP

EXAMPLE: #lkcli resource create ec2 --tag <tag> --type ElasticIP --eip <IP address> --dev <network interface name> --switchback <switchback type>

Option Default Description
--eip <str> The IP address of the Elastic IP you want to protect.
--dev <str> Network interface name to which EIP is attached.

extend EC2

EXAMPLE: #lkcli resource extend ec2 --tag <tag> --dest <backup node> --switchback <switchback type> --template_prioity <priority> --target_priority <prority>

config EC2

Nothing to configure

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment