Jump to content
Microsoft Windows Bulletin Board

Windows Server

Active Members
  • Posts

    5711
  • Joined

  • Last visited

Everything posted by Windows Server

  1. I'm getting this error message when I try to go to large major websites such as the government or Wikipedia, and more and more often. It says: "it's security certificate is not trusted by your device's operating system. This may be caused by a misconfiguration or an attacker intercepting your connection." I tried deleting my phone's cache and restarting the phone, and it did not correct the error. This is causing me more and more hassle. How can I fix it short of buying a new phone? My phone is 5 years old, and works beautifully except for this, and a few apps I can't use. It is an Android phoView the full article
  2. It keeps telling me "Sorry, we are unable to connect to Microsoft services at the moment" Ps: it's a Window 8.1, THANK YOUView the full article
  3. please i need a help, i want to enable MPR notifications from the system regedit from GPO in windows server 2012 so can i find the solution?View the full article
  4. When I turn on my laptop, a window pops up in the middle of the screen from the EFS Rekey Wizard, saying that this version of Windows does not support the Encrypting File System. How can I fix it?*** Moved from Windows / Windows 11 / Settings ***View the full article
  5. we created a website (this is our project in database), we need to connect our website to our database. To generate a report, we're using SSRS, so I export my report to a MHTML (since this is the available option). It run in the website yes, but I can't and dunno how to connect this to our website. I tried using href but its not working. please help T_TView the full article
  6. After update I can't use many applications likely discord widget youtube whatsap etc the wifi It's connected but it seems like there is no network when I test the wifi it doesn't show up View the full article
  7. Hi there,I recently had a power failure that took out my home lab which has 3x Hyper-V servers that are poart of a Failover Cluster with one external File Share WitnessDue to my DCs being virtualised and, I was unable to start the cluster normally as all the NICs were using either the Public or Private firewall profiles. I now have 2 nodes backup and running (1 server is currently down due to a PSU failure) and I've got the FSW back online So just looking for confirmation that my cluster is back to normal. I've reset the node weight to 0 and can see that the 2 active nodes both have a "vote"View the full article
  8. CSP subscription includes upgrade rights to newer software versions. Now we have Windows server 2022 which expires in December. that's ok, we will terminate and order new one. But we have Windows server 2022 User CAL, which expire in next year. How we can upgrade Windows Server User CAL software subscription to 2025 version?It is available in M365 admin center??View the full article
  9. Hi Please can anyone assist. I am trying to map a share drive on my local Windows laptop to access a remote Windows computer that is a member of a domain managed with Windows Server 2019 and Kaspersky Security Center 14 (Enterprise Version). I am trying to us Taiscale and I am connected and can see some shared folders on this remote machine but I cannot see the share drive. I have completed all of the following troubleshooting:1. I can confirm the Shared drive is formatted in NTFS.2. There are no Group Policies restricting the view of the Share property page in the network3. I have used adminiView the full article
  10. Hello,i read it is possible to upgrade a Server Datacenter 2022 into Datacenter 2025 with Windows Updates. This is new for me.I don´t have these option , well im connecting to that target Server Datacenter 2022 via RDS and SSH "so its not in my network" and when i start the Server Datacenter 2025 setup.exe i can´t select "keep Appdata,files etc.".finally after its booting "im in planning to upgrade not tried yet", also i will lost the connection, because its in a Computer Centre and not in my network.View the full article
  11. Hi,I have an issue with Sysprep on a Windows Server 2019 VM using OOBE and the Generalize option.When rebooting, I can see the language setting and EULA, but the next screen usually asks for setting a new local administrator account password. In my case, it doesn't show the screen to set the administrator password. After accepting the EULA, it goes straight to the desktop.Please help, am I missing any option?OS versionBest regards,Azhar.View the full article
  12. Please Help with this, What did I do wrong for not being able to get SSIdemo in Initial Catalog dropdown list for SSIS integration Connection Manager Box.View the full article
  13. Hello On my laptop, I have Edge which sometimes has a display problem, in 1/4 of a second, the display disappears and comes back immediately, but it is very brief No problem on my desktop with the same version, for example Maybe a graphic problem? A setting that I could look at? Thanks View the full article
  14. I have been dealing with this issue for months now and have run out of ideas to solve it. Lots of posts around this topic in various forums and no real solution from Microsoft. Has anybody here seen this issue and has a solution been published? Any other ideas to troubleshoot this? Environment isWindows Server 2022 all updates installedNetwork Card Firmware / Driver are up to dateNo AV InstalledSetting the service to automatic is not an option and it will go to manual automatically after few mins.Log Name: System Source: Service Control Manager Date: 3/2/2024 8:42:34 AMView the full article
  15. The recent support for Model Context Protocol (MCP) with Claude Desktop has opened the door for some really useful testing capability with Sentinel and emerging threats. I'm happy to share with the community a GitHub project that demonstrates the use of MCP against current exploits to generate simulated attack data that can be used with testing migrated ASIM alert rules. MCP allows for up-to-date exploits to be queried... ... and with AI prompting, simulated attack events can be created against our Sentinel test environments. AI PromptingWhich results in a simulated attack based on the exploit being referenced. This is really useful for testing the migration of our Sentinel alert rules to ASIM! The full code and details about the project are available here: https://laurierhodes.info/node/175 View the full article
  16. Is it possible to use NPS as a NAC solution without integration with Active Directory, while being able to check the posture of PCs?View the full article
  17. Key Features of Mistral Large 2411 Enhanced System Prompts: Provides more contextually relevant and dynamic responses tailored to enterprise needs. Improved Long-Context Performance: Processes up to 128K tokens, enabling superior handling of lengthy and complex inputs. Advanced Function Calling: Features native JSON outputting and agent-centric capabilities for seamless integrations. Multi-Lingual Support: Supports dozens of languages, including English, French, German, Spanish, Italian, Chinese, Japanese, Korean, and more. Proficiency in Coding: Trained on 80+ coding languages, including Python, Java, C++, JavaScript, and even niche languages like Fortran and Swift. State-of-the-Art Reasoning: Excels in mathematical and logical problem-solving, making it ideal for sophisticated tasks. Why Upgrade to Mistral Large 2411? With the launch of Mistral Large 2411, enterprises can: Unlock superior accuracy and efficiency for tasks involving large and unstructured datasets. Seamlessly integrate advanced AI capabilities with existing workflows using the model’s native function calling and JSON support. Future-proof their AI initiatives with a model designed to scale across industries and use cases. For existing users of Mistral Large, transitioning to Mistral Large 2411 ensures access to the latest advancements in AI while maintaining compatibility with Azure’s ecosystem. This proactive upgrade will enable organizations to stay ahead of the curve. Driving Success with Mistral Models: Real-World Stories Revolutionizing Veterinary Care with Mars Science & Diagnostics Anyone who has ever held their pet in a veterinarian’s office, anxiously awaiting test results, knows the emotional toll of every passing moment. For Mars Science & Diagnostics, a division within Mars Petcare, the mission is clear: to improve health outcomes for pets and their families through cutting-edge technology. Mars has leveraged the Azure AI Model Catalog and Mistral models to build its RapidRead solution, which enhances diagnostic capabilities in veterinary care. With a growing global shortage of veterinary-trained radiologists, RapidRead leverages Mistral’s AI capabilities to analyze radiological images, helping veterinarians diagnose conditions faster and more accurately. "The Azure AI catalog provides access to a wide range of pre-built models such as Mistral to help restructure data and enhance our accuracy. We know it’s accurate because nothing goes into our production systems without being validated and signed off by radiologists," says Mark Parkinson, Senior Director of AI Development at Mars. With RapidRead, Mars achieved: A 38% boost in average precision, ensuring better diagnostic accuracy. 96.9% precision on test sets, streamlining radiology workflows and enabling veterinarians to focus on complex cases. These advancements have not only saved hundreds of pet lives but have also significantly reduced diagnostic wait times, allowing pets to return home to their families faster. Enhancing Healthcare Efficiency with Doctolib As one of Europe’s leading eHealth platforms, Doctolib is transforming patient care by integrating Mistral Large with Azure’s AI technologies. Their AI-powered consultation assistant transcribes and summarizes medical consultations in just 15 seconds, allowing practitioners to spend twice as much time with their patients. "Our mission is to help health professionals spend more time looking their patients in the eye rather than at their computer screen," explains Arthur Talpaert, Lead Product Manager at Doctolib. Doctolib’s solution, built with Mistral Large, has: Reduced practitioners’ administrative workload. Enhanced the quality of patient-practitioner interactions. Maintained strict data privacy and compliance standards using Azure’s secure infrastructure. These real-world examples highlight the immense potential of Mistral models to address industry-specific challenges and unlock new opportunities. Get Started with Mistral Large 2411 on Azure AI Prerequisites: If you don’t have an Azure subscription, get one here: https://azure.microsoft.com/en-us/pricing/purchase-options/pay-as-you-go Familiarize yourself with Azure AI Model Catalog Create an Azure AI Foundry hub and project. Make sure you pick East US, West US3, South Central US, West US, North Central US, East US 2 or Sweden Central as the Azure region for the hub. Create a deployment to obtain the inference API and key: Open the model card in the model catalog on Azure AI Foundry. Click on Deploy and select the Pay-as-you-go option. Subscribe to the Marketplace offer and deploy. You can also review the API pricing at this step. You should land on the deployment page that shows you the API and key in less than a minute. You can try out your prompts in the playground. The prerequisites and deployment steps are explained in the product documentation. You can use the API and key with various clients. Check out the samples to get started. Empower Your Organization with Mistral Large 2411 The launch of Mistral Large 2411 is not just about introducing a new model—it’s about empowering businesses to achieve more with AI. Whether you’re in healthcare, veterinary science, finance, or any other field, Mistral Large 2411 offers the tools you need to innovate and excel. Join the growing community of enterprises leveraging the Azure AI Foundry Model Catalog to drive transformative outcomes. FAQ Do we have fine-tuning on Mistral Large 2411? Finetuning of these models are not supported yet but coming soon. Stay tuned!!! What does it cost to use Mistral Large 2411 on Azure? You are billed based on the number of prompt and completions tokens. You can review the pricing on the Mistral Large 2411 offer in the Azure Marketplace offer details tab when deploying the model. You can also find the pricing on the Azure Marketplace. Are the Mistral models' region specific on Azure? Mistral modelsare available through MaaS as serverless API endpoints. These endpoints can be created in Azure AI Foundry projects or Azure Machine Learning workspaces. Cross-regional support for these endpoints is available in the following regions in the US: East US, West US3, South Central US, West US, North Central US, East US 2 Do I require GPU capacity quota in my Azure subscription to deploy Mistral Large 2411? Mistral Large 2411 is available through MaaS as serverless API endpoints. You don’t require GPU capacity quota in your Azure subscription to deploy these models. Mistral Large 2411 is listed on the Azure Marketplace. Can I purchase and use these models directly from Azure Marketplace? Azure Marketplace is our foundation for commercial transactions for models built on or built for Azure. The Azure Marketplace enables the purchasing and billing of Mistral models. However, model discoverability occurs in both Azure Marketplace and the Azure AI model catalog. Meaning you can search and find Mistral models in both the Azure Marketplace and Azure AI Model Catalog. If you search for Mistral Large 2411 in Azure Marketplace, you can subscribe to the offer before being redirected to the Azure AI Model Catalog in Azure AI Studio where you can complete subscribing and can deploy the model. If you search for Mistral Large 2411 in the Azure AI Foundry Model Catalog, you can subscribe and deploy the model from the Model Catalog without starting from the Azure Marketplace. The Azure Marketplace still tracks the underlying commerce flow. Given that Mistral Large 2411 is billed through the Azure Marketplace, does it retire my Azure consumption commitment (aka MACC)? Yes, Mistral Large 2411 is “Azure benefit eligible” Marketplace offers, which indicates MACC eligibility. Learn more about MACC here: https://learn.microsoft.com/en-us/marketplace/zure-consumption-commitment-benefit Is my inference data shared with Mistral? No, Microsoft does not share the content of any inference request or response data with any model provider. Microsoft acts as the data processor for prompts and outputs sent to and generated by a model deployed for pay-as-you-go inferencing (MaaS). Microsoft doesn't share these prompts and outputs with the model provider, and Microsoft doesn't use these prompts and outputs to train or improve Microsoft's, the model providers, or any third party's models. Read more on data, security and privacy for Models-as-a-Service. Are there rate limits for the Mistral models on Azure? Yes, Mistral models come with 200 K tokens per minute and 1 K requests per minute limit. Reach out to Azure customer support if this doesn’t suffice. Can I use MaaS models in any Azure subscription types? Customers can use MaaS models in all Azure subsection types with a valid payment method, except for the CSP (Cloud Solution Provider) program. Free or trial Azure subscriptions are not supported. View the full article
  18. Hello,Im trying to activate a windows server 2025 license, Im currently on a evaluation license and put in the product key for the license I purchased and received an error the key was incorrect, I then reached out to the company i purchased they key from they asked me to use the command prompt to activate the ket with a command slmgr -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXto which i got error: 0xC004E016 I then ran slui 4 per their instructions and have been on hold with your toll free number for over 1.5 hrs for the instillation id codeAny help would be greatly appreciated upgrading to server 2025View the full article
  19. Unlocking the Power of Resiliency with Microsoft Azure In today's fast-paced digital landscape, ensuring the resilience of your workloads is more critical than ever. The recent Forrester Total Economic Impact™ (TEI) study, commissioned by Microsoft, sheds light on the substantial benefits of implementing Microsoft Azure resilience guidance. This comprehensive study reveals how organizations can achieve significant cost savings and business benefits by leveraging Azure's robust resilience tools and frameworks. The TEI study on workload resiliency on Azure and Azure Essentials are closely related as they both aim to enhance the resilience, efficiency, and overall performance of cloud workloads. Here’s how they connect: Azure Essentials Overview Azure Essentials is a comprehensive initiative designed to provide customers with Microsoft best practices, product experiences, reference architectures, and an array of resources to elevate security, reliability, and ongoing performance for cloud and AI workloads. It addresses various customer concerns, including platform and workload resiliency, financial management, hybrid and multi-cloud strategies, cost optimization, and security. The Journey to Resilience The TEI study highlights the journey of a composite organization—a global entity with $20 billion in annual revenue and 50,000 employees—navigating the complexities of migrating critical workloads to Azure. Initially, these organizations faced challenges such as reliability issues, suboptimal workload efficiency, and performance outages. However, by adopting Microsoft Azure resilience guidance, they transformed their cloud environments, achieving remarkable improvements in resilience and performance. Key Benefits Unveiled The study quantifies several key benefits realized by organizations following Azure's resilience guidance: Improved Resilience and Performance: By implementing Azure's Well-Architected Framework (WAF) and Azure Advisor, organizations avoided 15% of revenue loss from resilience issues over three years, translating to over $650,000 in savings. Optimized Workloads: The guidance enabled organizations to re-architect their workloads, improving scalability and efficiency. This optimization resulted in a 15% reduction in workload costs, valued at approximately $2.4 million over three years. Enhanced Operational Efficiency: System administrators experienced a 20% improvement in operational efficiency by leveraging Azure's resilience tools, saving the composite organization $555,000 over three years. Reduced Planned Downtime: The study found a 30% reduction in planned downtime, saving the organization $1.2 million over three years. Improved Security Posture: Following Azure's resilience recommendations reduced the risk of external attacks by 20%, enhancing the organization's security and saving over $321,000. Beyond Quantified Benefits In addition to these quantified benefits, the study highlights several unquantified advantages. Partnering with Microsoft provides access to cutting-edge technology, a supportive ecosystem, and extensive resources, empowering organizations to stay ahead of the curve. Improved customer satisfaction and retention, along with avoided penalty fees due to enhanced service-level agreements (SLAs), further underscore the value of Azure's resilience guidance. Conclusion The Forrester TEI study underscores the transformative impact of Microsoft Azure resilience guidance on organizations' cloud strategies. By adopting these best practices, businesses can achieve significant cost savings, enhance operational efficiency, and bolster their security posture. As the digital landscape continues to evolve, leveraging Azure's resilience tools is a strategic move to ensure your workloads remain robust, secure, and high-performing. Embrace the power of resilience with Microsoft Azure Essentials and unlock new levels of efficiency and security for your organization. For more insights, download the full TEI study and discover how Azure can drive your business forward. View the full article
  20. PROBLEM: I have many thousands of files and folders in multiple SharePoint Site libraries that somehow seem to have acquired unique Group permissions. Users with high-level permissions have lost visibility to many folders and files. DETAILS: There are five different permission groups that are given access to any new folder created in the library: Owner; Site Member; Library Manager; Library Contributor; Library Member. I'm using Teams to apply most user permissions. A Team is given a particular group permission and any user in that Team inherits that permission level (Library Member). For high-level permissions (Library Manager), I just manually put that person in that permission group. OBSERVATIONS: If I create a new folder, as the admin or someone with 'manage' permissions, the folder inherits the proper permissions. We also have a new folder workflow that creates these folders. I've confirmed that the items created with this process inherit the proper permissions. My only guess is that at some point the permission levels or groups were changed and folders did not inherit the proper updates. What I'm also struggling to track down is how some files in more recent folders are still hidden from users with Manage permissions. I think this has to do with the way sharing links are being created and shared. For instance, if "Jen" unintentionally creates a restrictive sharing link and shares that with "Bob", when Bob clicks on that link, the web browser is caching that permission even though he has full write access to all documents. When Bob clicks this link in his email, the files are showing as view only and he can not view any other contents of the library. There's a prompt that says something like you must be an authorized user, click here to sign in. When you click that, this restores all proper permissions. SOLUTIONS(?): I've found that there's a script to remove unique permissions and intend to give this a try. I'm hesitant to pull the trigger on this because it will kill any legit sharing links with our outside partners. I really don't want to kill links; I want to reset the Permission Groups for all contents of a library. # Set Variables $SiteURL = "https://yoursharepointsite.sharepoint.com" $LibraryName = "Documents" $BatchSize = 500 # Connect to SharePoint Online Connect-PnPOnline -Url $SiteURL -Credentials (Get-Credential) # Function to reset permissions for a batch of items function Reset-PermissionsForBatch { param ( [Parameter(Mandatory=$true)] [array]$Items ) foreach ($Item in $Items) { if ($Item.HasUniqueRoleAssignments) { Set-PnPListItemPermission -List $LibraryName -Identity $Item.Id -InheritPermissions Write-Host "Reset permissions for item ID: $($Item.Id)" } } } # Get all items in the library in batches $ListItems = Get-PnPListItem -List $LibraryName -PageSize $BatchSize -ScriptBlock { param($items) Reset-PermissionsForBatch -Items $items } View the full article
  21. A user schedules a booking within Microsoft Bookings and he tries to schedule his next appointment and when he clicks to schedule it, the bookings page goes to a different staff member and not the one he already had the conversation with. What could be wrong and how could we fix this? View the full article
  22. Hey guys, We received in the past months a lot of Microsoft Defender XDR Service Health Advisory alerts, is it something happening in the MSFT side ? Why we have so many services degradation ? Thanks View the full article
  23. Seeking to enhance your cloud-native capabilities? Kubernetes Apps on Azure Marketplace offers a transformative solution for your deployment needs. Designed by esteemed industry partners, these applications are crafted to address the complexities of contemporary cloud environments. Envision having a comprehensive array of partner and open-source Kubernetes solutions readily available. With a single click, you can effortlessly deploy these applications to your Azure Kubernetes Service (AKS) and Arc-connected clusters. The entire process is streamlined, with integrated Azure billing and efficient lifecycle management capabilities, ensuring a smooth and hassle-free experience. The cumbersome procurement processes of the past are now obsolete. Through the trusted procurement channels of Azure Marketplace, you can swiftly and securely acquire your Kubernetes solutions. Furthermore, each purchase contributes to your Microsoft Azure Consumption Commitment (MACC), presenting a clear advantage for your organization. Ready to dive into the world of cloud-native applications? Kubernetes Apps on Azure Marketplace offer unparalleled benefits for those eager to run their apps on Kubernetes. Here's why these apps stand out and why they should be your top choice: Secure Deployment You Can Trust When it comes to deploying Kubernetes apps on Azure Marketplace, security and reliability are paramount. Each app undergoes a meticulous certification process and rigorous vulnerability scans before it’s made available to you. This means that solution providers must address any security issues detected, ensuring the app is safe and secure from the get-go. But the security doesn’t stop there. Once an app is published, it continues to be scanned for malware and vulnerabilities regularly. This continuous monitoring ensures that the apps you deploy remain secure and free from known threats, offering robust protection for your applications and data. With these comprehensive security measures, you can deploy Kubernetes apps on your clusters with confidence, knowing that your apps are shielded by multiple layers of protection. Leveraging ARM for Kubernetes Kubernetes applications benefit immensely from cluster extensions that provide ARM-driven lifecycle management. When deployed as a Kubernetes cluster extension, these applications become Azure ARM resources. This transformation allows you to apply all Azure management capabilities, including Role-Based Access Control (RBAC), policies, and monitoring, directly to your Kubernetes apps. ARM and RBAC integration on Kubernetes means end users no longer need to log in to the Kubernetes cluster to install Helm charts. This significant improvement enhances security by reducing potential attack vectors to the cluster. Moreover, the cluster state automatically reconciles to the declarative state if any unwanted changes or errors occur, ensuring consistency and reliability. By turning your Kubernetes apps into ARM resources, you unlock the full spectrum of Azure management tools. This includes centralized control, policy enforcement, and comprehensive monitoring, all underpinned by the robust security measures provided by Azure. Lifecycle Management of Kubernetes Apps Keeping your Kubernetes apps up-to-date is a breeze with the auto-upgrade feature, which ensures you always have the latest features and patches. Scheduled during planned maintenance windows, these updates help maintain seamless operations. Additionally, you’ll enjoy version compatibility support along with a comprehensive matrix of supported cluster types, making Kubernetes apps the smart, secure, and reliable choice for your deployment needs. Benefit from the power of CI/CD automation through ARM-based APIs. By using ARM templates, you can define and deploy your Kubernetes apps as a cohesive unit, streamlining your deployment and configuration processes. This not only simplifies management but also enhances the overall efficiency and effectiveness of your application lifecycle. Programmatic Deployments of Apps In today's dynamic cloud environment, flexibility and ease of deployment are key. That's why we're excited to support the deployment of Kubernetes apps through multiple programmatic methods. Whether you prefer Terraform, CLI, ARM, or the Azure Portal, we have you covered. These tools offer seamless integration and streamline the process, making sure your applications are up and running with minimal effort. We understand that your workloads may be diverse and spread across various environments. Our hybrid deployment capabilities ensure that Kubernetes apps can be enabled not only on Azure Kubernetes Service (AKS) clusters but also on Arc-enabled clusters, whether on-premises or at the edge. This flexibility means you can manage and deploy your Kubernetes apps through the Azure Portal or CLI, no matter where your workloads reside. Embrace the power and convenience of hybrid deployments and take your Kubernetes management to the next level. Unlocking Benefits with Azure Consumption Commitment If your organization has Azure Consumption Commitment (MACC) agreements with Microsoft, you're in for a treat! Kubernetes Apps on Azure Marketplace are MACC eligible, meaning you can leverage these commitments for additional benefits over time. This not only helps in optimizing costs but also ensures you get the most out of your Azure investments. Flexible Billing Options for Kubernetes Apps One size doesn't fit all, especially when it comes to billing for Kubernetes Apps. That's why we offer a range of flexible billing models to suit your needs. Whether you prefer being billed based on usage (per core/per node, etc.), a flat rate, or custom dimensions, we've got you covered. Plus, we support upfront billing through private offers, giving you even more control and predictability over your expenditures. Choose the billing option that works best for you and focus on what matters most—running and scaling your applications with ease. How to Get Started with Kubernetes Apps Deploying Kubernetes apps has never been easier, thanks to a variety of methods at your disposal: - Programmatically deploy using Terraform: Utilize the power of Terraform to automate and manage your Kubernetes applications. - Deploy programmatically with Azure CLI: Leverage the Azure CLI for straightforward, command-line based deployments. - Use ARM templates for programmatic deployment: Define and deploy your Kubernetes applications efficiently with ARM templates. - Deploy via AKS in the Azure portal: Take advantage of the user-friendly Azure portal for a seamless deployment experience. Choose the method that best fits your workflow and get your Kubernetes applications up and running with ease. We hope this guide has been helpful and has made the process of deploying Kubernetes apps on Azure a bit clearer. Stay tuned for more tips and tricks, and happy deploying! 😄 View the full article
  24. Today we will cover deploying a Kubernetes application programmatically using Terraform and CLI. These deployment methods can streamline your workflow and automate repetitive tasks. Deploying your Kubernetes Application using Terraform This walkthrough assumes you have previous knowledge of Terraform. For additional information and guidance on using Terraform to provision a cluster, please refer here. Prerequisites Before we begin, ensure you have the following: Terraform Azure CLI Sample Location You can find the Terraform sample we will be using at this location: Terraform Sample Prepare the Environment First, initialize Terraform in the current directory where you have copied the k8s-extension-install sample by running the following command: terraform init In the directory, you will find two example tfvars files. These files can be used to deploy the application with different configurations: azure-vote-without-config.tfvars - Deploy the application with the default configuration for azure-vote. azure-vote-with-config.tfvars - Deploy/update the application with a custom configuration for azure-vote. Before you test run the sample tfvars files, update the following in the tfvars files: cluster_name - The name of the AKS cluster. resource_group_name - The name of the resource group where the AKS cluster is located. subscription_id - The subscription ID where the AKS cluster is located. Deploy the Application To deploy the application with the default configuration for azure-vote, run: terraform apply -var-file="azure-vote-without-config.tfvars" To deploy or update the application with a custom configuration for azure-vote, use: terraform apply -var-file="azure-vote-with-config.tfvars" Conclusion And that's it! You've successfully deployed your Kubernetes application programmatically using Terraform. This process can drastically reduce the time and effort involved in managing and scaling your applications. By using Terraform, you can ensure that your deployment is consistent and repeatable, making it easier to maintain your infrastructure as code. Deploying a Kubernetes Application from Azure CLI Deploying a Kubernetes application using Azure CLI can seem daunting, but we’re here to make it simple and accessible. Follow these steps, and you’ll have your azure-vote application up and running in no time! Prerequisites Before we get started, ensure you have the following: Azure CLI installed on your machine Deploying the Sample Azure-Vote Application from the Marketplace Step 1: Log in to Azure Open your terminal and log in to your Azure account by running: az login Step 2: Set Your Subscription Specify the subscription you want to use with: az account set --subscription Step 3: Deploy the Azure-Vote Application Now, deploy the azure-vote application to your Kubernetes cluster with the following command: az k8s-extension create --name azure-vote --scope cluster ` --cluster-name <clusterName> --resource-group <resourceGroupName> --cluster-type managedClusters ` --extension-type commercialMarketplaceServices.AzureVote ` --plan-name azure-vote-paid ` --plan-product azure-vote-final-1 ` --plan-publisher microsoft_commercial_marketplace_services ` --configuration-settings title=VoteAnimal value1=Cats value2=Dogs Updating Configuration Settings If you want to update the configuration settings of the azure-vote application, you can do so easily. Use the following command to change the configuration settings: az k8s-extension update --name azure-vote ` --cluster-name <clusterName> --resource-group <resourceGroupName> --cluster-type managedClusters ` --configuration-settings value1=Elephant value2=Horse And there you have it! By following these steps, you can deploy and update the azure-vote application on your Kubernetes cluster using Azure CLI. Conclusion Deploying Kubernetes applications using Azure CLI is a powerful way to manage and scale your applications. The process described above helps ensure your deployments are consistent and repeatable, simplifying the maintenance of your infrastructure as code. We hope this guide has been helpful. Stay tuned for more tips and demos. Happy deploying! 😄 View the full article
  25. Read more hereView the full article
×
×
  • Create New...