Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net 8 on Linux Support #311

Closed
AndrewMutation opened this issue Dec 8, 2023 · 23 comments
Closed

.Net 8 on Linux Support #311

AndrewMutation opened this issue Dec 8, 2023 · 23 comments

Comments

@AndrewMutation
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or "me too" comments. They generate extra noise for issue followers and do not help prioritize the request.

Tell us about your request
Support .Net 8 on Linux in Elastic Beanstalk

Is this request specific to an Elastic Beanstalk platform?
If so, which one(s)?

.NET Core on Linux

@aswanevelder
Copy link

aswanevelder commented Dec 12, 2023

The issue regarding .Net 7 since release a year ago had no response, doubt this is being maintained anymore. I was very hopeful given that .Net 8 is LTS, but I honestly have given up on this ever being updated.

#266

@AndrewMutation
Copy link
Author

I was following the 266 for a while, ended up using the .Net install script to get 7 running.

"doubt this is being maintained anymore."
This roadmap or .Net on Elastic Beanstalk.

I needed v7 for something in-house, but if they aren't serious about direct support for .Net, its quite disappointing.

@aswanevelder
Copy link

Today I finally managed to do this with Docker, which seems to be the only way going forward. I am too very disappointed, I absolutely love AWS but it would probably have been a lot easier on Azure. I'll post a video in the next few days if anyone is interested how to run Dotnet 8 with Docker on EB.

@AndrewMutation
Copy link
Author

I had started the in-house project using docker on EB, but was having issues so we switched to running it directly on EB and it was a lot simpler.

@kumail-raza
Copy link

@aswanevelder waiting for one, I was planning to do the same with Docker & ECS/Fargate to achieve this, but that is an extra work.

@kumail-raza
Copy link

It should be done by now, ASAP

@thackerdynasty
Copy link

docker is so finicky this needs to be done

@MrDark
Copy link

MrDark commented Jan 26, 2024

.NET on Windows Server already support .NET 8 since December 5th 2023.

@rajancstack
Copy link

when will this be supported?

@sunilshahi
Copy link

Any updates or plans on this?

@ardahal7
Copy link

Any updates on this?

1 similar comment
@gurunath-kalburgi
Copy link

Any updates on this?

@Gabones
Copy link

Gabones commented Apr 23, 2024

.NET Core 6 goes EOL in November of this year, we have more 5 months of support for Microsoft, i would like to start the migration to .NET Core 8

@sunilshahi
Copy link

The end of support for .NET 7 is on May 14, 2024. Its was STS release. I think there is no point in adding support for .NET 7 after official support has ended.

Since .NET 8 is LTS and majority of people waiting for #266 would equally benefit from this, can we skip adding support for .NET 7 and prioritize this instead? #266 has around 71 upvotes at the time of writing this comment. Please consider "merging" upvotes for these two tickets and plan accordingly.

@AndrewMutation
Copy link
Author

At this point, I don't think anything is going to happen with this.

I haven't seen any responses to this or to #266 that seem to be from Amazon, so its either docker or install the runtime yourself

@MrDark
Copy link

MrDark commented Apr 24, 2024

We have switched to publishing our apps with self-contained enabled. It makes the artefact larger but alleviates the dependency of having a pre-installed runtime.

@aswanevelder
Copy link

I believe this is a lost cause, Docker seems to be the only plausible way forward, self-contained makes the deployment too bulky.

This was referenced Apr 29, 2024
@edvanr
Copy link

edvanr commented Apr 29, 2024

We have switched to publishing our apps with self-contained enabled. It makes the artefact larger but alleviates the dependency of having a pre-installed runtime.

Does this actually work? Could you post some more details?

I remember trying this over 12 months ago but didn't have any luck getting it working

@MrDark
Copy link

MrDark commented Apr 30, 2024

We have switched to publishing our apps with self-contained enabled. It makes the artefact larger but alleviates the dependency of having a pre-installed runtime.

Does this actually work? Could you post some more details?

I remember trying this over 12 months ago but didn't have any luck getting it working

Within our (Azure) pipeline, we run the dotnet publish command with arguments --runtime linux-x64 --self-contained true. The output artefact is then directly used in the CDK when deploying to AWS.

@tecnocrata
Copy link

@edvanr
Copy link

edvanr commented Apr 30, 2024

We have switched to publishing our apps with self-contained enabled. It makes the artefact larger but alleviates the dependency of having a pre-installed runtime.

Does this actually work? Could you post some more details?
I remember trying this over 12 months ago but didn't have any luck getting it working

Within our (Azure) pipeline, we run the dotnet publish command with arguments --runtime linux-x64 --self-contained true. The output artefact is then directly used in the CDK when deploying to AWS.

This is great thanks for sharing. In case anyone else has problems with this, we could not get the binary to run on the 64bit Amazon Linux 2 v2.6.4 running .NET Core Beanstalk instance. After a bit of digging and testing, we worked out that we needed to build it for linux-arm64 not linux-x64

@praegt
Copy link

praegt commented May 17, 2024

Elastic Beanstalk now supports .NET 8 on Amazon Linux 2023
https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2024-05-17-al2023NET8.html

@praegt praegt closed this as completed Jul 1, 2024
@praegt
Copy link

praegt commented Jul 19, 2024

.NET 8 is now available on the .NET Core on Amazon Linux 2 platform
https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2024-07-18-al2.html

@praegt praegt removed the Proposed label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Just Shipped
Development

No branches or pull requests