This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host * | |
ServerAliveInterval 300 | |
ServerAliveCountMax 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host my-private-host | |
Hostname <PRIVATE_IP> | |
User opc | |
IdentityFile ~/.ssh/id_rsa | |
ProxyCommand ssh -i ~/.ssh/id_rsa opc@<BASTION_IP> -W %h:%p %r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "opc_compute_security_list" "enable-ssh" { | |
name = "Enable-SSH-access" | |
policy = "DENY" | |
outbound_cidr_policy = "PERMIT" | |
} | |
resource "opc_compute_sec_rule" "allow-ssh" { | |
name = "Allow-ssh-access" | |
source_list = "seciplist:/oracle/public/public-internet" | |
destination_list = "seclist:${opc_compute_security_list.enable-ssh.name}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Protocol</key> | |
<string>swift</string> | |
<key>Vendor</key> | |
<string>oracle</string> | |
<key>Description</key> | |
<string>Oracle Cloud Infrastructure - Storage Classic</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "/Compute-mydomain/user@example/example-instance-orchestraion", | |
"description": "Example Instance Orchesrtation", | |
"desired_state": "active", | |
"objects": | |
[ | |
{ | |
"label": "MyInstance", | |
"type": "Instance", | |
"description": "My instance", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "opc_compute_instance" "MyInstance" { | |
name = "vm-1" | |
shape = "oc3" | |
boot_order = [ 1 ] | |
label = "vm-1" | |
networking_info { | |
index = 0 | |
shared_network = true | |
seclists = [ "${opc_compute_security_list.wlsadmin_seclist.name}" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "opc_compute_ip_network" "ipnet1" { | |
name = "ipnet1" | |
ip_address_prefix = "192.168.4.0/24" | |
} | |
resource "opc_compute_storage_volume" "boot" { | |
size = "12" | |
name = "boot" | |
bootable = true | |
image_list = "/oracle/public/OL_7.2_UEKR4_x86_64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1PADtEN4QmxsUt5XVHoeVbdczZKYYVwrwa https://explorer.blockstack.org/address/1PADtEN4QmxsUt5XVHoeVbdczZKYYVwrwa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "oci_core_images" "autonomous_linux" { | |
compartment_id = "${var.tenancy_ocid}" | |
operating_system = "Oracle Autonomous Linux" | |
operating_system_version = "7.7" | |
# e.g. Oracle-Autonomous-Linux-7.7-2019.12-0" | |
filter { | |
name = "display_name" | |
values = ["^Oracle-Autonomous-Linux-([\\.0-9]+)-([\\.0-9-]+)$"] |
OlderNewer