Skip to content

3034saurabhkumar/CloudFence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CloudFence πŸ”₯

This project uses Terraform to automate the deployment and configuration of a Cisco ASAv on Amazon EC2, creating a reproducible and scalable security gateway. It leverages Infrastructure as Code (IaC) to provide robust firewall, VPN, and other ASAv features in AWS.

πŸ“ Prerequisites

β€’ User must have an AWS account.

πŸ›‘ Disclaimer !!

Important: To avoid incurring ongoing AWS charges for AMI usage and resource consumption, it is crucial to properly terminate the ASAv EC2 instance when it is no longer needed.

Simply stopping the instance will not prevent all charges. You must terminate the instance to release the associated resources (EBS volumes, Elastic IPs, etc.). Failure to do so may result in continued billing from AWS.

Please refer to the AWS documentation for detailed instructions on terminating EC2 instances.

πŸš€ Getting Started

To get started, Clone repository to an editor(VS Code).

  1. Run the following command to initialize your Terraform configuration. This will download the necessary provider plugins (This command initializes your Terraform project by downloading the necessary provider plugins).
terraform init
  1. This command creates an execution plan based on your terraform configuration file. You can save this execution plan and later use it to apply the configuration and create the resource. The execution plan basically tells you which all resources will get created and in what order.
terraform plan
  1. Run the following command to create the ASAv on EC2 instance defined in your configuration file (This command applies your configuration and creates the resources defined in your configuration file. It shows a plan of what it will do and prompts for approval.)
terraform apply --auto-approve

Verification 😎

  1. Open the AWS Management Console.
  2. Navigate to the EC2 Dashboard.
  3. Look for an ASAv instance to verify that Terraform has successfully created.
  4. Destroy the infrastructure to avoid incurring charges. Run the following command.
terraform destroy --auto-approve

About

Cisco ASAv on Amazon EC2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages