You can use Compute Engine after a project owner enables billing - google-compute-engine

This is my first question for GCE on StackOverflow.
I've been using GCE for quite some time. I have 4 projects. Suddenly last night I was unable to connect or see VMs in the dashboard. I see a message saying:
You can use Compute Engine after a project owner enables billing.
You do not have permission to enable billing for this project. Contact a project owner to enable billing.
Why is this happening with only 2 projects and not with others? As far as I know payment settings are the same for all 4 projects.
Can you please help me out with this? I'm badly stuck.
Thanks in advance, here is a picture of my problem.

You can have multiple billing accounts, and multiple projects can share a billing account. It sounds like you are not a project owner, so it's possible that a project owner has changed or disabled the billing account for some of the projects you have accessed without your knowledge (or that perhaps there was indeed a problem with the payment method).
When a project cannot be billed, the registered project owners will receive several email notices informing them that there is a problem, and providing information on how to fix it.
In this case it sounds like you are doing the correct action - that is to work with the guy who is the project owner to find out what notices he received, and to make sure a valid billing account is attached to the projects, or followup with billing support if there is an issue that they have notified you about.

Related

Changing organisation for compute engine from workspace to cloud identity

I think I made a big mistake.
I was asked to investigate Office 365 vs workspace and took out a workspace trial. In hindsight, I probably should have created a new workspace account to try this.
To be clear for a long time we have had access to and used the "Google Workspace Admin console" purely to setup our organisation and adminster users for compute engine projects. I am not sure why we would have had access to this without a paid account. (possibly we used g-suite before. It's not clear to me whether companies are able normally able to access this without a paid account.) I assumed this was akin to the free azure organisation/user setup. Nowadays, I believe we would possibly be advised to use Google Identity in this situation.
Having taken out the trial I understand from workspace support that at the end they will delete my existing organisation and users; they cannot not switch me back to an "identity only" version of workspace we seemed to have before, and are therefore forcing me to sign every user up to workspace even though we don't need it at this point. Is this the case or are they advising me incorrectly?
Assuming they are correct, I cannot sign our company up to google identity, since our domain is owned by the soon to be deleted workspace account.
Therefore my worry is that my business is about to lose access to our compute engine organisation and associated logins, as well as google domains.
The only options I can see are to pay for workspace for our users every month, or create a new organisation in cloud identity, transfer the compute engine projects, wait for the workspace account to be removed, then reclaim our main domain and recreate all the admin users. (I am not sure whether we can move a project out of an organisation once there.)
Is this even possible, and what are the dangers? Are there any other options?
If you have a GCP organization and access to the Admin Console, you must have some subscription. You can see your subscription(s) in the Admin Console under Billing > Subscriptions.
It's possible to add or change subscriptions, but there are some restrictions: For example, if you currently have a G Suite Legacy subscription, you might not be offered the ability to add a Cloud Identity Free subscription. But there are ways to deal with this -- for example, by temporarily upgrading to a paid plan, and then switching to Cloud Identity Free.
Support should be able to help you find a way that doesn't require deleting and re-creating your account/org.
Johannes Passing is correct.
admin.google.com on the home page says "Welcome to the Google Workspace Admin console" - this is confusing since the portal is also about administering organisation and users through cloud identity as well (it could be better named for example "Organisation Admin console")
In addition, there are actually different answers from google:-
This one (which I originally read) says "If your trial period ends and you haven’t set up billing or verified your domain, your account will be automatically deleted" and also "You won’t be able to access Google Workspace after completing the steps."
https://support.google.com/a/answer/6388094
...but this one correctly says "Note that cancelling Google Workspace doesn’t remove user accounts, groups, or your organizational structure"
https://support.google.com/a/answer/1257646
Together this gave the impression that access to admin.google.com may be completely removed, if a subscription is removed. I can clearly see that I also have a subscription to Cloud Identity Free.

Synchronization across different systems

I have 2 systems let's call them i and j. Each have it's own database.
Each have a registration page, where a user is inserted in a user table.
What is the best way to synchronize both tables, where if any user registers at system i it will be also registered at system j.
Notes:
I cannot read from each other databases directly.
I can do small changes in the code if needed and it will not affect the system performance or natural behavior.
I can create API's for both systems if needed.
I can add any tables or fields if needed.
I can create any cron jobs unless it will affect the performance of the system or server.
I'm using cPanel.
Technologies:
MySQL
PHP
REST API's
The fact that you list cpanel as a technology shows you're working with an inflexible budget hosting vendor. So it's unlikely they'll cooperate in setting up background tasks (cron jobs) to merge your user tables behind the scenes. (cpanel isn't a technology: it's a system administration user interface provided by hosting vendors who don't trust their customers' skills.)
So. you should design and implement a REST API in the code of both your apps to perform user registration and authentication tasks. You didn't show us the details of your app, so it's hard to design it for you. Still it seems likely you'll have to implement these operations:
PUT user
DELETE user
GET user
POST user to validate a user's password, etc. (Don't use GET to pass secret information: GET request parameters go into server logs.)
PATCH to update details of a user.
If you get the API working, whenever you create/retrieve/update/delete user information in one app, you'll use the API to change it in the other.
Your best bet would be to create a third app just for user management, and have both your existing apps use it. That way you're sure to have one coherent source of truth about users. But you can do it just within two apps.

What's a good workaround for Triggers being disabled because they were created by a now-disabled Google Workplace user?

My company uses Google Suite and there are a handful of engineers who develop projects within Sheets (often for use by others with less technical backgrounds).
Some of these projects have involved creation of Triggers (e.g. "save the contents of this Sheet every day at midnight").
What I've discovered is that when one of those engineers leaves the company and their account is disabled, triggers written by that user become disabled and remaining users can neither view nor edit their contents. Nor can they see details of triggers created by a different (active) user.
Are there known workarounds to get the contents of this type of trigger? Or is there a better practice to employ that doesn't tie status of a trigger to the status of a user?
Google has a guide for scripts collaboration : Collaborating with Other Developers . Briefly, they suggest to save scripts in a Shared Drive as this will allow several users to do the same than the owner of a script stored in their "My Drive", but this requires the use of Google Workspace account having access to Share Drives.
If the script creators don't have access to a Shared Drive then ask them to transfer the ownership of the scripts to be used by others to a more stable user account. IMHO the best is to have a generic user account not tied to a specific person, i.e. scripts#example.com., one additional advantage is that it might help to differentiate on the version history if the changes made where done "by a real person" or by a trigger.
Another option is that the domain admin could transfer the files ownership from the disabled account to another user account, either to a real person account or to a generic account, i.e. archivist#example.com, then someone having access to that account could do find the corresponding script and do the required adjustments.
Depending on the number of engineers and size of the company you might also want to keep an inventory of all the scripts used by others and implement some sort or pair-review focused on script ownership succession.

Need Guidence on Adding User Accounts and Payment System to Website

I have some business ideas I would like to try in the near future that would involve selling digital products like software or datasets. I know how to create a website as far as the HTML and CSS end, but I don't have experience with making web applications or user account systems. I would also be concerned with liability should someones account get hacked or payment information stolen.
I don't think what I need is anything too fancy. The customer needs to be able to create an account, purchase digital products, and give them access to those files on their account. I would also need the ability to remove, update, or add new files to their account after the fact.
Are there services that handle user accounts, hold files, and handle payments in one service? Maybe I could just create my own user account system and have someone else handle all payments? I could use some guidance here.
Shopify or Square if you don't want to do anything. You can also try Opencart, Megento, WooCommerce, Prestashop or Drupal Commerce.
EDIT FOR CLARIFICATION:
I did mean Square, not "Squarespace". Specifically https://squareup.com

Autodesk Forge Multiple Admins for an Application

Currently we have one user account that can access our registered applications. Is there any way to authorize more than one account to updated and change our applications?
Not at this time. But it is planned as a future enhancement. (Sorry - I don't have an ETA for you).
The best you can do right now is to create a single (shared) account for your entire team to use - which is better than relying on a single person who may leave.