Created
February 7, 2019 14:51
-
-
Save recursivecodes/fbbd61ba34a850aaedddaad51c835480 to your computer and use it in GitHub Desktop.
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
Created compartment faas-compartment with ID ocid1.compartment.oc1..[redacted]na | |
Created group faas-group with ID ocid1.group.oc1..[redacted]vq | |
Created user faas-user with ID ocid1.user.oc1..[redacted]va | |
Created Auth Token. Remember this token, it can not be retrieved in the future: ew[redacted]et | |
Added user faas-user to group faas-group | |
Action completed. Waiting until the resource has entered state: ACTIVE | |
Created policy faas-demo-policy. Use the command: 'oci iam policy get --policy-id ocid1.policy.oc1..[redacted]sa' if you want to view the policy. | |
Creating VCN. This may take a few seconds... | |
ServiceError: | |
{ | |
"code": "NotAuthorizedOrNotFound", | |
"message": "Authorization failed or requested resource not found.", | |
"opc-request-id": "[redacted]", | |
"status": 404 | |
} | |
[create failed, trying again in 10 seconds...] | |
Created VCN faas-demo-vcn with ID ocid1.vcn.oc1.phx.[redacted]ma | |
Created subnets: faas-subnet-1, faas-subnet-2, faas-subnet-3 | |
Created internet gateway faas-internet-gateway with ID ocid1.internetgateway.oc1.phx.[redacted]kq | |
Updated default route table for VCN to allow traffic to internet gateway | |
Updated default security list to open port 80 for all subnets in VCN | |
Remember to save the generated auth token: | |
ew[redacted]et | |
This token is used for Docker login, with the username [redacted]/faas-user. | |
Your new compartment ID is ocid1.compartment.oc1..[redacted]na | |
Your subnet IDs are: | |
faas-subnet-1: ocid1.subnet.oc1.phx.[redacted]2q | |
faas-subnet-2: ocid1.subnet.oc1.phx.[redacted]hq | |
faas-subnet-3:ocid1.subnet.oc1.phx.[redacted]na | |
Use these subnets for your Fn applications. | |
Your user ID is: ocid1.user.oc1..[redacted]va | |
You can use the following profile section to modify your OCI CLI config for use with Fn (you'll need to generate a key and populate the necessary key related items): | |
[faas] | |
user=ocid1.user.oc1..[redacted]va | |
fingerprint=<public-key-fingerprint> | |
key_file=<private-key-pem-file> | |
tenancy=[redacted] | |
region=us-phoenix-1 | |
pass_phrase=<passphrase> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment