Code Monkey home page Code Monkey logo

Comments (6)

cellistigs avatar cellistigs commented on August 26, 2024 1

Going to reopen this until I finish documenting s3 usage in the developer docs.

from neurocaas.

cellistigs avatar cellistigs commented on August 26, 2024

Hi Shuonan,

The bucket itself will be specified in your "stack_config_template.json" file- the field "PipelineName" is exactly the name of the created s3 bucket the fields indicated here are paths within that bucket. You should be able to find the bucket named after your PipelineName in S3. Having run Step 6 of the developer guide, you should then be able to find directories within this bucket, with "inputs/", "configs/" and "submissions/" subdirectories, where your input data, configuration files, and submit.json files should go.

from neurocaas.

ShuonanChen avatar ShuonanChen commented on August 26, 2024

Thank you, step 6 run successfully with the following information:


Successfully packaged artifacts and wrote output template to file compiled_packaged.yaml.
Execute the following command to deploy the packaged template
sam deploy --template-file ../neurocaas/ncap_iac/ncap_blueprints/bardensr/compiled_packaged.yaml --stack-name <YOUR STACK NAME>


	Deploying with following values
	===============================
	Stack name                 : bardensr
	Region                     : None
	Confirm changeset          : False
	Deployment s3 bucket       : None
	Capabilities               : ["CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND"]
	Parameter overrides        : {}

However, under bardensr I wasn't able to find the 'inputs/' 'configs/' etc:

ls -a ./bardensr/
.				.ipynb_checkpoints		stack_config_template.json
..				compiled_packaged.yaml		stack_config_template.json~
.DS_Store			compiled_template.json		test.ipynb
.aws-sam		        test_resources

am i missing something? thank you!

from neurocaas.

cellistigs avatar cellistigs commented on August 26, 2024

Hi Shuonan,

In order to list the contents of an S3 bucket, please use the aws cli as follows:
aws s3 ls [your bucket name] --recursive
You can likewise use this cli to upload/download files https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html or folders https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html. I will document this more clearly in the developer docs!

from neurocaas.

ShuonanChen avatar ShuonanChen commented on August 26, 2024

thank you, that was helpful, closing the issue

from neurocaas.

cellistigs avatar cellistigs commented on August 26, 2024

Closed in newest version of developer docs: "End Goal" section.

from neurocaas.

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.