I'm trying to get updated my frontend app with Next JS in Amplify service of AWS but it doesn't refresh.
Steps I follow:
Commit and push my code.
Amplify detect the changes in my GitHub repo.
Amplify starts deployment
All was successfull.
I try the app but the deployed verion it doesn't have the last changes.
I reviewed the history log and Amplify it's taking the last commit.
Any suggest?
Thanks in advance.
Related
Hi im working on a personal flutter web app project and I was playing around with AWS Amplify
I followed the instructions posted on the flutter web dev page but when I tried to deploy the default flutter web app onto AWS Amplify I got thisenter image description here so I was wondering if there was a way to deploy my flutter web app onto AWS Amplify or another AWS service
AWS Amplify currently doesn't have support for Flutter web apps.
There's an open feature request on the amplify-futter GitHub repo in case you'd like to keep track of this.
Now , deploy on AWS Amplify (Flutter web)
Git branch put in web build flutter folder .
AWS Amplify chose git hub branch and auto deploy .
I'd like to know if I can use my git repository for AWS console ? In fact i made a rails project on AWS console but I did not find as to how to transfer it on to my Github repository
You can use AWS Cloud and Github through
Custom Webhooks: Where you have your code store in github and serve through AWS services like EC2, Lambda, etc.
AWS Code Pipeline with Code Commit: The AWS code commit service can be configure to listen to github webhook requests, from there you can trigger events when the webhook is received e.g. Build, tests, deploy
Reference:
I'm new with AWS mobile hub and today I just notice there is a new AWS Amplify/CL, now I'm super confused with these two libs.
My understanding was AWS mobile cli is a tool that create aws backend service, and amplify js just client library that hook up with the aws backend.
But now I see this AWS Amplify/CLI, it also can create aws service and also creates the aws-exports.js file, and now AWS Amplify docs has changed, it no longer tell you how would it works with mobile hub, instead use Amplify/CLI to create services.
Dose it mean I should use AWS Amplify/CLI instead?
Use the Amplify CLI going forward, it's more flexible architecture that allows a comprehensive feature set. See the information in this post:
Existing Mobile Hub projects continue to work without requiring any app changes. If you’re using the AWS Mobile CLI for existing projects, you can also continue to use that older CLI. However, going forward, new features will be added to the AWS Amplify CLI toolchain which does not use Mobile Hub.
If you’re building a new mobile or web app, or adding cloud capabilities to brownfield apps, use the new AWS Amplify CLI. The new Amplify CLI will allow you to take advantage of all the new features outlined in this blog, as well as the rich CloudFormation functionality to unlock more workflows and future tooling.
Section: Existing tooling, https://aws.amazon.com/blogs/mobile/announcing-the-aws-amplify-cli-toolchain/
For current Mobile Hub users, we just released a Mobile Hub to Amplify CLI migrator that you can access here: https://github.com/awslabs/amplify-mobilehub-migrator. This will help you import your Mobile Hub resources into an Amplify project, give you an exports file, and allow you to leverage Amplify CLI features such as GraphQL APIs, Codegen, and the GraphQL Transform.
Update - AWS Mobile Hub will be replaced by AWS Amplify on October 30, 2021. Existing users should plan a migration strategy. For apps already deployed with Mobile Hub, resources created by Mobile Hub will continue to function.
"If you don't migrate your project to Amplify, your app will continue to function, and all your related cloud resources will continue to be available. However, you won't be able to access the Mobile Hub project container after October 15, 2021." - https://docs.aws.amazon.com/aws-mobile/latest/developerguide/what-is-aws-mobile.html#migrate-to-amplify
I have a Aspnet Core project and Angular Cli on project that works on wwwroot of Aspnet Core project. I need to publish this website Amazon Aws.
By following the steps of tutorial of publishing Aspnet Core on Amazon Aws Elastic beans does not help. I get full of errors. There is also tutorial for publishing angular on Amaon Aws S3. I need to combine them in order to get my project published. Anybody can help me?
Have a website hosted on Amazon Web Services and I want to run a bash script to automatically build my github project when changes are pushed to the repository. How can my aws linux server detect when my repository is pushed to?
You can use GitHub's Webhooks:
Every GitHub repository has the option to communicate with a web server whenever the repository is pushed to. These “webhooks” can be used to update an external issue tracker, trigger CI builds, update a backup mirror, or even deploy to your production server.
The github-services project supports a large number of popular services out of the box.
Alternatively, you can use Webhooks yourself to configure an HTTP message to be sent to an arbitrary endpoint when a given event occurs. You would need to configure a service that listens for and responds to GitHub's message on your endpoint.
You can register a webhook on your GitHub repo in order to trigger a message to your aws server.
But, as mentioned in "Sync the local code to Amazon server through GitHub webhook", that means you have a listener on that AWS server which would listen to such a message.