Site problem with AWS error 403 forbidden - amazon-web-services

I did everything by the book, but still getting forbidden when I try to reach my site.
I registered a domain trough route53and added both buckets www.nadavrosenbergdev.com and nadavrosenbergdev.com but still getting the error. I also tryied adding bucket policy which did not work.
Can someone please help.
It seems too difficult and I might disband AWS and move to an easier host and solutions (there are many of them). A friend told me AWS is the best but for some reason, it is very unclear.
Please help.

Related

Drupal AWS EC2 Instance Error - Access Denied

I followed the AWS guide on how to set up Drupal on AWS, everything installed fine and the command line is working well.
It's the basic site and set up with nothing custom.
I can access the site fine following the guide but when I try to log in I get the below error:
To log in to this site, your browser must accept cookies from the domain ec2-XXX
After Googling, it mentions a patch could fix it but I can't seem to get it working.
Any help is appreciated! Thanks
Turns out I just needed to Open on Safari - I was already logged into the site!!
Must be an actual Chrome cookie issue, clean up those crumbs people!
Leaving in case someone needs the help....

issue automatically adding members to google groups (G-suite) with Admin SDK

(I have done a search through the questions to see if I could find something on this, but have not found answers.)
I have two google groups through my G-suite and I want to automatically add people to both groups after they sign up for my club through a process on my website. I think this should be possible using:
https://developers.google.com/admin-sdk/directory/v1/guides/manage-group-members
I have gone into the API Console, created a new project, enabled the Admin SDKI API, and got an API key. However, I think I am running into the Authorization issue because we keep getting an error that the authorization token is missing.
I have tried using the OAuth 2.0 but I'm not sure if this should be "Internal" or "External". I'm not creating a whole app for someone to use - all I want to do is on the back end of the site take information that comes through when someone joins the club and automatically have them added to my google groups.
Is it possible for someone to please explain to me what I need to do?
I'm sorry this is kind of a basic question.
Thank you for your help.

I can't access a site that I just created on aws?

I'm getting a super weird issue whereby I just created a site on aws (s3, cf, route53) and now I'm getting This site can't be reached issue
it's weird for the following reasons:
I can access it on my phone
my friends can access it
I could initially access it but now cant
my internet connection is fine (hence posting on here) and accessing other sites
I've cleared my browser cache (but the issue occurs in firefox too??). I've tried incognito too
I restarted my laptop and it then briefly worked but after the 3rd refresh it died
I know this is super weird so not expecting it to be solved really but just wondering if anyone else has experienced this after launching a site and how I can fix it? really don't get why it's happening on my computer and noone elses (makes it hard to debug)
Try invalidation of the cache, it’s possible a specific cache is broken.

Amazon Web Services "400 Access Restricted" - Cannot log in

I signed up to AWS 1 month ago, everything it was working pretty nice, but one week ago, suddenly, I am not able to sign in. I am getting the following message:
400 Access Restricted.
Your access is being restricted because you appear to be located in a country or region where we do not provide services. We apologize for any inconvenience.
I am not able to find one place inside aws site (or google) explaining this, and I cannot get support from them because firstly I have to log in... .
I think it happened because I cleaned all cookies and history in chrome (I am not sure it is happening from that moment). But, if this would be the case, it should work from Internet Explorer, or the cookies are shared by every navigator?.
How could I get access again?
Regards

A static website on AWS not acccessible

Somewhat curious about how to make a website on AWS, yesterday I went following this document:
https://aws.amazon.com/getting-started/projects/host-static-website/?c_1
in order to get started with something simple.
I clicked the button Get Started with the Implementation Guide and found myself here:
https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html
It went pretty well, except that even today, I still can't acccess the site with the expected URL (http://example.com).
For the sake of simplicity I decided to leave alone http://www.example.com for the time being.
Since the Step 2.5: Test Your Endpoint and Redirect could be performed without any problem;
I suspect that something went wrong when performing Step 3: Create and Configure Amazon Route 53 Hosted Zone.
I did not find the explanations in the guide very clear, but I did what made sense to me, based on what I could see on the screen and on my previous experience in similar cases with other providers (other than AWS).
Anyone has tried this before and has something to point out?
For reference here is the kind of display I can see on Google Chrome:
This site can’t be reached
example.info’s server IP address could not be found.
Did you mean http://example.com/?
Search Google for example info
ERR_NAME_NOT_RESOLVED
In case something similar happens to someone else, here is what I did.
I finally solved the problem by following Step 5: Route DNS Traffic for Your Domain to Your Website Bucket
of this document:
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/getting-started.html#getting-started-create-alias
creating an Alias record.