To use our CaaS on Scaleway, you need to create a projet and provide rights to our CaaS. We will create infrastructure resources in that project. We don't need a global access to your account, only to one project (which is good for security). So, you can configure other services like a managed database in your Scaleway account, we will not see them.
After the connection of your Scaleway account, ScaleDynamics will create and manage resources in one of your project of your account. You should not modify, create, or delete these resources to avoid non deterministic behaviors of the ScaleDynamics platform. To interact with ScaleDynamics, please use only our SDK command lines or our console (http://console.scaledynamics.com (opens in a new tab)).
To connect a Scaleway account, you need to gather several information on your side.
What you need to get:
- a projectId and a secretKey that provides access to that project management.
First, connect to Scaleway console (opens in a new tab) using your credentials.
First you have to create a project named 'scaledynamics' and get its ID (the projectId).
On the top left dropdown click on '+ create project'
Then set project name to 'scaledynamics' and click on 'Create Project' button.
After the creation, go in the 'settings' tab and note the projectId we will need it to create a scaleway connector.
In the project panel, go in the 'SSH keys' tab.
Then click on '+ Add a new SSH key and copy paste ScaleDynamics public ssh key below
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNK3JQu8+sRvvYNmHQXBLPUv+FjXptk1VOzPzf143UDro4fd1XvIcm86t7UuY4rvocqlC7nTVgURTU/OwW2oFbUc2n+xDZlIHDdCUbQ8CYfB7m8s7bCzfDcF2pwtyFhkSPs4v4zUxVOfarQIDXklLv2DhghAoMMqetLPz0SselC0qlFcWzx6xA9yKNppl7MR/ynspBikjuEZ85Qy3z+ZsBOsMi/DT/88TLaIoWeIbCImZhjobTDi94bUfRBaOIG0u9tHr0PoXSKrNxY72g/5PyoO9feUi95UsY6iSF6i1Xni6Q40YaFL2+8nKa/6Wte+daDt5M71sjNJZhjs1uIydB firstname.lastname@example.org
Add a required description, put 'scaledynamics' and click on 'Add SSH key'.
Using the top right dropdown, select IAM
Select the 'Policies' tab and click on the '+' button to create a new policy.
In the panel, create a policy named 'scaledynamics-policy' and click on 'Add rules'.
Then, select 'Access to resources', choose 'scaledynamics' project, then click on 'Validate'
Then, select 'AllProductsFullAccess' in permissions, and click on 'Validate'
Finalize the policy creation by clicking on the 'Create policy' button.
Get back in IAM and select the 'Applications' tab and click on the '+' button to create a new application.
In the panel, set application name to 'scaledynamics-caas', attach the 'scaledynamics-policy' and click on 'Create application'.
Get back in IAM and select the 'API Key' tab and click on the '+' button to create a new API key.
Click on 'An application' and select 'scaledynamics-caas' application. Set the Description to 'scaledynamics-key', and click on 'Generate API key'
After creation, you'll see the key. Please note the 'Secret key' that we will use as the secretKey
On the ScaleDynamics console, select the 'cloud connectors' tab, then click on the '+ Cloud connector'. Select Scaleway.
Then, give a name and an optional description to your connector
At last, fill projectId and the API Key secretKey. Set an optional peremption date and click on 'Create' button.