diff --git a/modules/cloud_service_providers/aws_cloud/aws_cloud.module b/modules/cloud_service_providers/aws_cloud/aws_cloud.module
index 119fc9f1..3d90cb57 100644
--- a/modules/cloud_service_providers/aws_cloud/aws_cloud.module
+++ b/modules/cloud_service_providers/aws_cloud/aws_cloud.module
@@ -793,6 +793,7 @@ function aws_cloud_entity_operation(EntityInterface $entity) {
   if ($entity->getEntityTypeId() === 'aws_cloud_instance') {
     if ($account->hasPermission('edit any aws cloud instance')
     || ($account->hasPermission('edit own aws cloud instance')
+    && !empty($entity->getOwner())
     && $account->id() === $entity->getOwner()->id())) {
       if ($entity->getInstanceState() === 'running') {
         $operations['stop'] = [
