GithubHelp home page GithubHelp logo

Comments (7)

neilalex avatar neilalex commented on July 26, 2024 2

Hm, my repo was in a subfolder in the bucket, though not certain why that would make a difference. Around three months ago I remember having an issue using a bucket in us-east-2, which resolved after I tried us-east-1. Also, when cloning the repo, make sure to use --recursive so that the submodules come down?

 
Altogether, the steps I took were --

In S3:
Create bucket my-bucket-name in us-east-1
Create subfolder aws, and then subfolder aws-quickstart under that, both with AES-256 encryption

On a local machine (with git + AWS CLI installed, git set up for use with github), in some temp location:

git clone --recursive [email protected]:aws-quickstart/quickstart-microsoft-activedirectory.git
aws s3 cp --recursive quickstart-microsoft-activedirectory s3://my-bucket-name/aws/aws-quickstart/quickstart-microsoft-activedirectory

CloudFormation, Amazon S3 template URL:
https://my-bucket-name.s3.amazonaws.com/aws/aws-quickstart/quickstart-microsoft-activedirectory/templates/ad-master-1.template

CloudFormation, In the template itself:
Quick Start S3 Bucket Name:
my-bucket-name

Quick Start S3 Key Prefix:
aws/aws-quickstart/quickstart-microsoft-activedirectory/

 
As for Amazon's buckets via links in the Quickstart being broken, no official idea though I did see that #62 pointed that out too.

from quickstart-microsoft-activedirectory.

neilalex avatar neilalex commented on July 26, 2024

If it means anything, I was able to run scenario 1 earlier today with no issues, using a custom bucket and ad-master-1.template. Repo was cloned when the tip was at 077aa1486.

I'd run into the issue you describe when using Amazon's bucket, and it almost seemed like the custom bucket would have the issue as well, as it took the job a solid 45 minutes to work through the DC2 step. Eventually it moved past that though?

from quickstart-microsoft-activedirectory.

cdilga avatar cdilga commented on July 26, 2024

Was there anything special you had to do to get the custom bucket working well?
When I did it, I set the bucket name to my-completely-unique-bucket-name and the key to / and just uploaded the cloned repo - at 18c6b85

Are there implicit assumptions about the key being something other than bucket root / or anything similar?

Also, we can verify that using Amazon's buckets from links in the Quickstart are as of this moment broken?

from quickstart-microsoft-activedirectory.

cdilga avatar cdilga commented on July 26, 2024

Thanks, this works!
What I didn't realise was the necessity to have the --recursive flag for the GitRepo, which interestingly fails at the same point 🤔

I think this issue should remain open until the AWS provided bucket can be updated to work.
However, perhaps updating the Readme or a wiki would help others to setup their own custom buckets and get the quick-start deployed.

I'm happy to do a PR to the Readme outlining the specific steps required to setup with a custom bucket as an intermediate step if that would be accepted and within the contribution guidelines

from quickstart-microsoft-activedirectory.

neilalex avatar neilalex commented on July 26, 2024

Ah glad to hear it! I'm just a user though I'd fully support any notes around this in the readme -- definitely spent more time trying to figure that one out myself several months ago than I'd wanted. Sorry it didn't occur to me sooner

from quickstart-microsoft-activedirectory.

virtlima avatar virtlima commented on July 26, 2024

@neilalex Thanks for the Suggestion, we try and add a reference to using your own S3 Buckets and the --recursive flag to grab all repos. sorry for the inconvenience. @cdilga where you able to get it running, seems so.

from quickstart-microsoft-activedirectory.

davmayd avatar davmayd commented on July 26, 2024

Fixed by #114

from quickstart-microsoft-activedirectory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.