This page discusses the two levels of access control for Cloud SQL instances. You must configure both levels of access control before you can manage your instance.
Levels of access control
Configuring access control involves controlling who or what can access the instance. Access control occurs on two levels:
- Instance-level access
- Instance-level access authorizes access to your Cloud SQL instance from an application or client (running on App Engine or externally) or from another Google Cloud service, such as Compute Engine.
- Database access
- Database access uses server-level roles to control which SQL Server users can access the data in your instance.
Instance-level accessHow you configure instance-level access depends on where you are connecting from:
|Connection source||Access configuration options||More information|
|App Engine standard environment||
|App Engine flexible environment||
|Google Kubernetes Engine||
After a connection to an instance has been negotiated, the user or application must log in to the database instance with a user account. You create and manage user accounts as part of managing your Cloud SQL instance.
- Learn more about how Cloud SQL works with SQL Server users.
- Learn more about SQL Server roles.
- Learn more about your options for connecting from an external application.
- Learn about controlling who can manage your Google Cloud Platform project.