Create Juniper vSRX
To initialize, go to vMarketPlace at the following link: https://marketplace.console.vngcloud.vn/app-package/detail/4/30/1284a184-2119-4950-bd1c-af9161c52c01
Initialize Juniper vSRX
Select "Launch on Compute Engine."
Enter the name, select the image type as vSRX, configure the VM (Flavor, Storage), and specify the correct VPC & Subnet to be associated with this vSRX Instance.
Note: Resources (vServer, vLB, vDB) in the Subnet that want to route traffic through this vSRX Instance need to add a route with the gateway through the Internal IP of this vSRX Instance.
After selecting the appropriate information, choose "Next."
Review the information and select "CREATE SERVER."
After creation (Status ACTIVE), select the Instance to view the connection IP information.
Update Security Group
By default, the created vSRX Instance is not attached to a Security Group. Follow the instructions below to update it:
Access the newly created server instance.
Next, select ACTION > Update Security and choose the appropriate New security group.
You can "Allow all INBOUND & OUTBOUND" from 0.0.0.0/0 for initial setup and then tighten the IP WhiteList as needed.
Remember to also check the Network ACL (in the VPC section) to configure it to synchronize with this Security group.
Next, you need to perform the initial setup for the vSRX instance.
Select ACTION > Console to open the instance console.
By default, the instance is not set up with a root password or configured with interfaces, IP addresses, routes, security zones, or security policies. You need to configure this information.
To set up the root password, go to the console, log in as the root user, and configure as follows:Bash
Hãy thận trọng khi sử dụng các đoạn mã.
To configure the Interface & get the IP Address, configure as follows:Bash
Hãy thận trọng khi sử dụng các đoạn mã.
After configuration, you need to reboot the instance:Bash
Hãy thận trọng khi sử dụng các đoạn mã.The reboot process may take 10-15 minutes.
After rebooting, log in to the console using the root user and the password configured above.
Check the route to the Internet:Bash
Hãy thận trọng khi sử dụng các đoạn mã.Note the Gateway to the Internet of this vSRX Instance at 0.0.0.0/0.
Configure the route to the Internet:Bash
Hãy thận trọng khi sử dụng các đoạn mã.
After this step, you can SSH into the instance from the Internet (via Public IP) or Internal IP from the vServer using the root user, port 22, and the password configured above.
You can also configure SSH using a public key with the command:
Bash
Last updated