You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Application information + output for LB IP + deploy script
* Version
* gitattributes
* Dynamic names for subnet and subnet dns
* Choice of compartement for project and DNS
* Removed comments and unused fields
* Removed policies and moved token creation
* Inverted token condition
* Update README.md
* Readme + bug fix
* added branche name to objects + added commit or version to image
* Readme
Copy file name to clipboardExpand all lines: README.md
+17-3
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,25 @@ For deploying your Java App with the App Stack, here is the list of OCI prerequi
36
36
37
37
-**DevOps project (optional):** A Java application in an OCI DevOps project (can be a mirror of an existing GitHub repo). This isn't required if the application is provided as a container image.
38
38
-**Database:** an existing Autonomous Database - Shared Infrastructure (ADB-S) can be used with the stack. The stack may create a new one, if specified during the Stack configuration.
39
-
-**Vault (optional):**A new user in IAM (<application_name>-user) is created and its token used for connectng to the DevOps repo, is stored in the vault. When the stack is destroyed this user is removed. A Vault is necessary to avoid the limit on the number of tokens the current user has however, the Vault isn't required if the application is provided as a container image.
39
+
-**Vault (optional):**An authentication token can either be provided or created by the stack. It is used for connecting to the DevOps repos. A Vault is necessary to store this token, the Vault isn't required if the application is provided as a container image.
40
40
-**DNS (optional):** A DNS zone for creating the application URL (for example https://myapp.domain.com). If not provided during the stack configuration, the application will be available through the load balancer's public IP. You can then configure your third-party DNS provider to point to this IP address.
41
41
-**HTTPS certificate (optional):** is needed for the load balancer. If no certificate is provided, HTTP will be used against the IP address.
42
-
43
-
42
+
-**IAM:** The following rights are needed:
43
+
- Two *dynamic groups* need to be created, one for *container instances* and the other for *DevOps*.
44
+
-*Container instances* should be allowed to **read****repos**. This will allow container instances to fetch the container image generated by the stack from the container registry.
45
+
-*DevOps* should be allowed to: **read****secret-family** and **all-artifacts**; **use****ons-topics**, **load-balancers** and **virtual-network-family**; and **manage****devops-family**, **compute-container-instances**, **compute-containers** and **devops-family**. This will allow *DevOps* to build and deploy the application.
46
+
```
47
+
Allow dynamic-group 'appstack-container-instances' to read repos in tenancy
48
+
Allow dynamic-group 'appstack-devops' to read secret-family in tenancy
49
+
Allow dynamic-group 'appstack-devops' to read all-artifacts in tenancy
50
+
Allow dynamic-group 'appstack-devops' to use ons-topics in tenancy
51
+
Allow dynamic-group 'appstack-devops' to use load-balancers in tenancy
52
+
Allow dynamic-group 'appstack-devops' to use virtual-network-family in tenancy
53
+
Allow dynamic-group 'appstack-devops' to manage compute-container-instances in tenancy
54
+
Allow dynamic-group 'appstack-devops' to manage compute-containers in tenancy
55
+
Allow dynamic-group 'appstack-devops' to manage devops-family in tenancy
56
+
```
57
+
44
58
## Which Cloud Resources will be used?
45
59
46
60
The [Oracle Cloud Free Tier service](https://www.oracle.com/cloud/free/) allows you to build, test, and deploy your applications on Oracle Cloud for free. Upon signing up, the service comes with a $300 credit with 30 days expiration; following the expiration or the exhaustion of the credit, most of the provisioned services remain available as [Always Free](https://www.oracle.com/cloud/free/#always-free). You may add additional credit for services that do not fall under Always-Free.
0 commit comments