This "How to" guide was made possible thanks to the Michael and Susan Dell Foundation.
Description
The following instructions will guide you through the instantiation of the Google Cloud Ed-Fi ODS/API v3.4 VM and tools.
Prerequisites
This will be a hands-on exercise activity using the Ed-Fi ODS/API deployed in a VM on Google Cloud, and you will need to provide your own laptop and have access to a Google Cloud tenancy.
...
- 1: Setup a Google Cloud account. Click here: (https://console.cloud.google.com/compute/instances)
2: Request access to the VM image. Please provide your email so that we can share the VM image with you. (send email to douglas.loyo@msdf.org with subject: Google Cloud VM Access)
Setup Instructions
1) Login to (https://console.cloud.google.com/compute/instances)
...
5) To be able to access the VM you will need to use the following credentials:
- Username: Administrator
- Password: EdFi!sCool
*NOTE: We recommend you change the password on the Administrator account upon first login.
*Optionally, you can create a windows account. To do this click the arrow next to RDP and select "Set windows password"
6) A prompt will come up. Make sure that you type edfi for the username. After you click on "Set" it will give you a secure password. NOTE: You should save that password in a secure place.
76) Open RDP (Remote Desktop Connection). Hit your windows key and type RDP and enter.
87) Use the external IP, edfi user and the password it gave you to connect to the VM
98) At this point you should be in the VM and we can start exploring the Ed-Fi ODS API
Exploring the Ed-Fi ODS API:
Exploring Databases
1) Open SSMS (Sql Server Management Studio) by clicking on the icon on the task bar.
...
3) Expand the databases on the left panel (Object Explorer). You will see a list of all databases. At this point you can expand and explore all tables and objects in the Ed-Fi ODS databases.
Exploring IIS and the Available Sites
1) Open IIS (Internet Information Services) by clicking on the icon on the task bar.hitting the windows key, typing IIS and hitting enter.
2) Expand the server by clicking on the arrow on the left. (Expand all websites and virtual directories) (#1)
3) Click on the application that says api (#2)Api that is under the v3.4.0Sandbox virtual directory.
4) On the right "Actions" panel click on browse 443 (#3). It will open a Chrome Browser window . Click on Browse as Guest. Then go back to the IIS window and click on Browse 443 again. This time it should open a second tab with the api URL.
with the ODS\API URL.
5. Without closing the Chrome browser you can return to IIS and explore the other applications by selecting them and clicking on Browse 443.
6. Open the "docsDocs" application that resides inside the /v3.4.0Sandbox/ virtual directory. This is the production sandbox swagger. Click on the resources link on the right.
7) Authorize your session: Click on the authorize button and use the following credentials. client
- client_id:
...
- A0hcXwnYrwaj
- client_secret:
...
- fIM7AKJNYqDRF2DPgD8zup8i
Then click on the "Authorize" button and the inputs should switch to asterisks. This means you are authorized. At this point you can click the "Close" button.
8) Execute the students request: Scroll all the way to the bottom of the screen and locate the students request. Click on the arrow on the right to expand it (#1). Then proceed to click on the "GET" request (#2) to expand the options. Click on the "Try it out" button (#3) and scroll to the bottom until you see a big blue button that says "Execute".
...
Production:
- Production API: https://localhost/v311/apiv3.4.0Production/Api
- Production Swagger: https://localhost/v311/docs/ v3.4.0Production/Docs
client_id: JBVSZ60PG4yC 0CjxTBzwQfQZ
client_secret: MdlUJTtUIKR881r09whP94Wb Y2D3p9QQ4o3V8mH5LKzJRN0k
- Production Admin App: https://edfi-dev:444localhost/v3.4.0Production/AdminApp
- user: edfiAdministrator
- pass: (the one you set on the instance at the beginning)EdFi!sCool
Sandbox:
- Sandbox API: https://localhost/v311/sandboxapiv3.4.0Sandbox/Api
- Sandbox Swagger: https://localhost/v311/sandboxdocs/v3.4.0Sandbox/Docs
- client_id: GapYwJToOmLFuxj20cgyf A0hcXwnYrwaj
- client_secret: tnWodf75hJ4BdEWkf6VUfT28 fIM7AKJNYqDRF2DPgD8zup8i
- Sandbox Admin: https://localhost/v3.4.0Sandbox/SandboxAdmin
- user: test@ed-fi.org
- pass: ***REMOVED***
Exploring the Ed-Fi ODS API through PostMan
1) Open Postman. Click on the icon on the task bar.
...
Note: you have to have authenticated first by running the "POST Get Auth Token" request and getting an access_token as described above.
KNOW Issues:
1) When executing "gcloud compute instance create" it gives the following errors:
...