RSI CaaS Training


Development

On this page, you can experience each linkage in application development.
If you work on each step in order, the "Voting Tool" application will be created in "Sandbox".


Step1: Azure Blob Storage

You can use the image in your web application by uploading it to Azure Blob Storage.

Let's change the title logo to your favorite image!

Upload an image file to Azure Blob Storage as title.png.
Storage location: sttoolsthdevtraining0521/image/training
Save it under the configured blob prefix.

NOTE: uploaded title.png will be deleted at 0:00 UTC.

You can upload an image from the Azure portal, Azure Storage Explorer, or Azure CLI.


  az storage blob upload \
    --auth-mode login \
    --account-name $AZURE_STORAGE_ACCOUNT \
    --container-name $AZURE_STORAGE_CONTAINER \
    --name $AZURE_STORAGE_PREFIX/title.png \
    --file ./title.png

Reload the page after uploading.You can confirm that the title logo has been changed.
If the title logo does not change after reloading, please restart the container using RSI CaaS Operation Tool.


Step2: DB

The database required for your web application is already prepared.

Let's experience the linkage with Database!

NOTE: Voting results will be deleted at 0:00 UTC.

Go to Sandbox(Open in new window).

Step2-1: Add a User.

Step2-2: Click the button to vote.

Step2-3: Access Azure Database for MySQL and check your Database.

Connect to the operation VM via SSH.
Use the operation VM prepared for your Azure CaaS environment.
You can also use Azure Bastion if your environment uses it.
From the VM, connect to Azure Database for MySQL and check your database.

You can check the database with the code below.


  $ ssh {vm-admin-user}@{operation-vm-public-ip}
  mysql -h ...


Step3: Scheduled Job

You can also use a container that starts at arbitrary cycle with Azure Container Apps Job.

Let's experience the linkage with Scheduled Job!

Go to RSI CaaS Operation Tool.
Set the scheduled job to run every 5 minutes (e.g., */5 * * * *).

You can see that columns are added to the table below every 5 minutes.
This table records the total of votes in Step 2-2.

After checking, disable the schedule or revert it to your default cron expression.


If you applied to use Business Platform, go to "Step4: Business Platform Step".
Step4: Business Platform Step

If you didn't apply to use Business Platform, go to "Step5: RSI Auth Step".
Step5: RSI Auth Step